{"library":"react-router-dom-v5-compat","type":"library","category":null,"description":"The `react-router-dom-v5-compat` package provides a migration path for applications transitioning from React Router v4 or v5 to v6. It offers compatibility components and hooks that allow developers to run existing v5 routing logic within a v6 application environment. This enables incremental upgrades, avoiding a \"big bang\" rewrite. The package's current stable version is 6.30.3, aligning with the `react-router@6.x` series. While the core `react-router` project has progressed to v7, this compatibility layer remains focused on facilitating the v5-to-v6 migration. Its primary differentiator is enabling the co-existence of v5 and v6 routing paradigms, providing a temporary bridge rather than a permanent solution.","language":"javascript","status":"maintenance","version":"6.30.3","tags":["javascript","react","router","route","routing","history","link","typescript"],"install":[{"cmd":"npm install react-router-dom-v5-compat","imports":["import { BrowserRouter as CompatRouter } from 'react-router-dom-v5-compat';","import { Switch as CompatSwitch } from 'react-router-dom-v5-compat';","import { useHistory as useCompatHistory } from 'react-router-dom-v5-compat';"]},{"cmd":"yarn add react-router-dom-v5-compat","imports":[]},{"cmd":"pnpm add react-router-dom-v5-compat","imports":[]}],"homepage":null,"github":"https://github.com/remix-run/react-router","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-router-dom-v5-compat","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-router-dom-v5-compat/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}