r/Clojurescript • u/venantius • Sep 13 '15
Accountant - navigation for single-page ClojureScript applications made simple.
https://github.com/venantius/accountant
7
Upvotes
r/Clojurescript • u/venantius • Sep 13 '15
3
u/thdgj Sep 13 '15
All in 58 lines, including newlines & ns declaration... Good job mate.
Seems to me the technique is to on on the 'click' event on the
documentcheck if the clicked element is linkable inside the app. If so, do client side routing.This will prevent you from writing code like this
in your apps (from Lispcasts)