@wazabii/statehandler
v1.0.1
Published
A super lightweight and platform-agnostic push state handler.
Downloads
5
Maintainers
Readme
StateHandler
A super lightweight and platform-agnostic push state handler.
Usage
let handler = new StateHandler();
//Access push state change
handler.state((updatedRoute) => {
console.log('State update:', updatedRoute);
});
// push to state
handler.pushState('#why-hello-thar');