Update On Navigate (uon)
Update On Navigate (uon) is a tiny library that observes route changes and delivers updates through a callback.
Features:
- Small in size, no dependencies
- Observe native navigation
- Observe manual navigation
Install
$ npm install --save uon
Usage
// Import the library; // Observe route changes;
The returned route will be the current pathname.
License
MIT © Colin van Eenige