Here's an error I was having for the past few days that I'm a little embarrassed to admit. haha. As it t urns out the error was caused by me not returning anthing from a certain case of the swtich statement in my reducer function.
This is an awesome video out there on Youtube that covers ClojureScript development from the very basics to more advanced topics like building an actual React application in ClojureScript using the Reagent library. The video has a interesting Socratic style where one guy acts as the novice, asking the questions that a viewer may be wondering. The other, although he humbly says that he's not an expert, plays the roles of Socrates, explaining the answers to the questions asked. Overall, I'd recommend it if you're just getting into ClojureScript since it exposes you to some of the syntax, lingo, tools, and frameworks of the ClojureScript world.
Let me preface this post by saying that I'm really not a ClojureScript developer (nor am I really even a Clojure developer). I've gone through a few episodes where I looked at Clojure, but I always deemed it as too crazy to actually be a viable programming language... until recently. There's something especially magical about Clojure's hot reload that makes it better than other hot reload tools; actually, two things:
Leiningen basically gives you a REPL for running and evaluating Clojure from the command line. This is the "de facto" way to get up and running with Clojure, and it works fine. I've installed this a few times now on Mac OS, and every time I have to go look up how to do it again (scroll to the bottom for links to other tutorials on this subject). I figured writing a tutorial myself might burn it into my memory better, and also it might help out some other lucky duck that wants to start using Clojure.
The posts on this site are written and maintained by Jim Lynch. About Jim...