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.
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: https://github.com/zamansky/shadow-cljs-demo <iframe width="560" height="315" src="https://www.youtube.com/embed/_CTTbC6owS0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>