This package has been deprecated

Author message:

Deprecated, will not get new updates

react-router-path-normalize

3.0.17 • Public • Published

react-router-path-normalize

Normalize paths for React Router.

npm version CircleCI codecov Known Vulnerabilities Patreon ko-fi


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

Package Sidebar

Install

npm i react-router-path-normalize

Weekly Downloads

5

Version

3.0.17

License

LGPL-3.0

Unpacked Size

13.8 kB

Total Files

4

Last publish

Collaborators

  • zacanger