react-router-path-normalize

1.3.2 • Public • Published

react-router-path-normalize

Normalize paths for React Router.

npm version CircleCI codecov Known Vulnerabilities


Installation

npm i react-router-path-normalize

Usage

import { BrowserRouter } from 'react-router-dom'
import Normalize from 'react-router-path-normalize'
import { render } from 'react-dom'
import routes from './routes'
 
render(
  <BrowserRouter>
    <Normalize>
      <Routes />
    </Normalize>
  </BrowserRouter>,
  document.getElementById('root')
)

Normalize takes exactly one child.

Uses path-normalize under the hood.

License

MIT

install

npm i react-router-path-normalize

Downloadsweekly downloads

3

version

1.3.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability