Instatiates a new Router
- Add
opts.onRouteStart
andopts.onRouteComplete
to do things like performance benchmarking - Deprecate the
hashbang
use cases - we dont need this and it adds complexity - Deprecate the
basepath
option and just assume the basepath is/
- Add no-op functionality to
next()
calls that happen async afterRouter.go
is called again
Causes a real page navigation by using window.location