@do-while-for-each/browser-router
v3.0.3
Published
Router for any browser-based JavaScript app
Readme
Installation
Install by npm:
npm install --save @do-while-for-each/browser-routeror install with yarn:
yarn add @do-while-for-each/browser-routerGetting Started
Using the example for React.js:
- Define routes (for a possible syntax see here)
- Create
BrowserRouterinstance - Start
BrowserRouter - Receive and handle the routing result
and that's all you need to do to make the router work.
