An open API service indexing awesome lists of open source software.

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.

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)