custom-history
Custom hash history implemenation for preact
INSTALL
npm i -S custom-history
USAGE
;;; ;;; | <a href="#/home">home</a> | | <a href="#/about">about</a> | | <a href="#/search/query?x=1">search</a> | /div Router history= Home path="/" / Home path="/home" / About path="/about" / Search path="/search/:query/:advanced?" / /Router/main; renderApp /, document.body;
CHANGELOG
See CHANGELOG
TODO
- Move to jest, ts-jest