Re:Show HN: Sentinel.JS - The simplest alternative to angula...
by Kiro on Monday July 07, 2014 @05:42AM
(#7997921)
No support for routing?
[ Parent
| on HN ]
Re:Show HN: Sentinel.JS - The simplest alternative to angula...
by imakesnowflakes on Monday July 07, 2014 @05:50AM
(#7997955)
No. But why do you need that bundled with something like this? You got two way data binding, so use a separate routing library to read routes off the url and change a variable in the bound scope, and let the DOM update accordingly.
Re:Show HN: Sentinel.JS - The simplest alternative to angula...
by notduncansmith on Monday July 07, 2014 @07:43AM
(#7998281)
If you're looking for a dead-simple routing library for the client, allow me to shamelessly plug the one I wrote: https://github.com/notduncansmith/trails. I'm using it in conjunction with Rivets.js and Viewmaster.js in a framework I'm working on.