Skip to content
🐨 A tiny 200b route change observer.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Switch to TypeScript! May 17, 2019
.npmrc Switch to TypeScript! May 17, 2019
LICENSE Initial commit! Jan 22, 2019 Switch to TypeScript! May 17, 2019

Update On Navigate (uon)

npm version gzip size license dependencies TypeScript

Update On Navigate (uon) is a tiny library that observes route changes and delivers updates through a callback.


  • Small in size, no dependencies
  • Observe native navigation
  • Observe manual navigation


$ npm install --save uon


// Import the library
import uon from 'uon';

// Observe route changes
uon((route) => { ... });

The returned route will be the current pathname.


MIT © Colin van Eenige

You can’t perform that action at this time.