React-Router Sans-URLs
Dumbed down version of React-Router without URL's or browser history.
For use with React in environments without URL support, such as inside of the Atom Editor.
Setup
npm i react-router-sans-urls
Usage
import Router Route from 'react-router-sans-urls'; import First from './First';import Second from './Second'; /*...*/ { return // specify the changing route <Router => // include a 'path' and matching 'component' <Route ='first' =/> <Route ='second' =/> </Router> ;}