From [email protected] and onwards, your router instance is compatible with most observable libraries.
You can subscribe to route changes using
router.subscribe(), and will receive an object containing
Router instances are observables. You can use most stream libraries out there and create a stream from your router instance:
- RxJS (
- xstream (
- most (