https://github.com/markrabey/react-roadway
Minimal Routing for React.
https://github.com/markrabey/react-roadway
history html5-history react reactjs router single-page-applications
Last synced: 8 months ago
JSON representation
Minimal Routing for React.
- Host: GitHub
- URL: https://github.com/markrabey/react-roadway
- Owner: MarkRabey
- License: mit
- Created: 2017-06-21T15:01:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T18:43:52.000Z (over 8 years ago)
- Last Synced: 2025-04-26T00:35:45.581Z (8 months ago)
- Topics: history, html5-history, react, reactjs, router, single-page-applications
- Language: JavaScript
- Homepage: https://opentrace.github.io/react-roadway/
- Size: 1.9 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# React Roadway
Minimal Routing for React
## Installation
```sh
npm install react-roadway --save
```
## Examples
```..jsx
const Home = createRoute((props) => (
Home
));
const About = createRoute((props) => (
About
));
const App = createRouter(() => (
- Home
- About
));
render();
```
---
## Contributor Code of Conduct
Please note that this project is released with a [Contributor Code of Conduct](code-of-conduct.md). By participating in this project you agree to abide by its terms.
## License
MIT Copyright (c) 2017 [Opentrace](http://opentrace.ca)