8000 GitHub - zacanger/react-router-path-normalize: Normalize paths for React Router.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 8, 2021. It is now read-only.

zacanger/react-router-path-normalize

Repository files navigation

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

About

Normalize paths for React Router.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  
0