Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pshrmn/route-tester
Test React Router v4 <Route>s
https://github.com/pshrmn/route-tester
react react-router
Last synced: 3 months ago
JSON representation
Test React Router v4 <Route>s
- Host: GitHub
- URL: https://github.com/pshrmn/route-tester
- Owner: pshrmn
- Created: 2017-02-05T17:23:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-30T05:23:20.000Z (over 7 years ago)
- Last Synced: 2024-10-24T19:44:05.001Z (3 months ago)
- Topics: react, react-router
- Language: JavaScript
- Homepage: https://pshrmn.github.io/route-tester
- Size: 15.6 KB
- Stars: 60
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Route Tester
Test React Router v4's `` component to verify what locations it will match. A `path` is parsed using [`path-to-regexp`](https://github.com/pillarjs/path-to-regexp). The `strict` prop is the same as it is in `path-to-regexp`. The `exact` prop in React Router is the `end` option in `path-to-regexp`.