This is a quick little tip about sharing local variables across functions in your React components. It's something that a fellow developer, Ben, reminded me of in a pair programming session recently so I decided to write a blog post about it!
I've recently been building web applications with front-end frameworks like React, Reagent, and Angular 2. I was recently working on an Angualr 2 project and thought, "man, this sure seems like a ton of lines of code", but had no concrete evidence to prove it. After a quick google search I came to this stack overflow question, and the awesome answer(s) therein.
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.
It seems a little crazy to think about an application as just a reflection of the data, but I believe it is actually true. I've been building front-end browser applications for a long time, but it wasn't until I started getting into Clojure and ClojureScript (which was pretty recently) that the lightbulb went off for me.
This is a post about my initial feelings after working on my own little project with ES6, React, and web pack. I’ve really only worked with Angular 1 & 2, some Knockout, and of course some regular old JQuery. I was a little nervous and very excited trying for the first time to actually build something with React (I've been watching these pluralsight courses to get me"thinking in React": )
I’ve browsed a few tutorials and watched [parts of] these pluralsight courses) in the past but never seriously started coding in React until I switched my WebStorm IDE to understand JSX. This post is basically a post-mortem of my weekend project experiment with React and the React-webpack generator.
The posts on this site are written and maintained by Jim Lynch. About Jim...