Skip to main content

C'est la Z

Tag: 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.

Clojurescript Components

I got some positive feedback from my first Clojurescript post and video so I thought I'd continue with the series. Here we'll continue to build a simple Clojurescript/Shadow-cljs/Reagent/Tailwindcss application by creating some reusable components. It's one of the things that make Clojurescript so nice for web development. Here's a link to the GitHub repo with the code: <iframe width="560" height="315" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>