Skip to main content

C'est la Z

Category: clojurescript

Clojurescript - building a simple router

In this video we'll look at creating a small router. I originally looked at using one of the available libraries to set up routing. I considered reitit and bidi but in the end decided to figure out how to do it myself. It turns out that whenever you change the hash part of a url - everything following a # at the end of a url you get a hashchange event.
# COMMENTS