I had passed the phone screen for a chance to work as a ClojureScript developer for a startup in manhattan, and they emailed me a coding challenge. Basically, they wanted me to make a glorified do-to list using reagent and re-frame. This post is to document the feedback from the reviewer of my code and think out loud about what he / she meant by it and what I can do to avoid the same issues the future.
When I'm designing a web application that I want to be responsive, I frequently use the units vh and vw (which stand for viewport height and viewport width). These are great because they allow you to size things based on a percentage of the viewport height. However, sometimes you want things sized at 100% of the height or width minus a constant, and that's where the calc function comes in handy!
Reagent is an awesome marriage of a React, an industry standard web front-end based on immutable component state, with ClojureScript, a functional lisp programming language with a terse syntax that heavily leverages immutable data. This post is about how to easily create a Reagent project that will get you up and running with familiar tooling similar to other React and NodeJs.
The posts on this site are written and maintained by Jim Lynch. About Jim...