block by bradoyler adfc0e5ff6a5147fc097a7de3279d40c

Simple ES6 PushState Router

Usage

const router = new Router();
router.navigate('/Post/123', 'Awesome blog post');

or with mounting point

const router = new Router('/Post');
router.navigate('/123', 'Awesome blog post');

Also has built-in history tracking via navigations:[]

Router.js