@pixellka/router-dom

6.6.2 • Public • Published

Modified React Router v6.61

This is a slightly modified version of react router, which allows to use URL GET param instead of pathname.

Requires prop argumentName for both BrowserRouter and createBrowserRouter.

<BrowserRouter argumentName="path">
  ...
</BrowserRouter>
    const router = createBrowserRouter(routes, {argumentName: "path"});
    ...
    <BrowserProvider router="router"> 
    ...
    </BrowserProvider>

Links and Navlinks do still look wrong.

Based on React-router v.6.61

Readme

Keywords

none

Package Sidebar

Install

npm i @pixellka/router-dom

Weekly Downloads

4

Version

6.6.2

License

MIT

Unpacked Size

407 kB

Total Files

5

Last publish

Collaborators

  • drejkus