Important notice!

My Redux video course is out now on Manning's liveVideo platform! Order with the yttuts code to get 40% off!

Integrating Google Maps in React using refs

React’s ref provides an easy way to access DOM nodes and components, and to integrate third-party libraries in our React components. Let’s take a brief look at how we can use React’s ref attribute to hook up our component with a basic Google Maps integration. As an exercise, we’ll render...

Immutable.js 101 – Maps and Lists

I’ve been using Immutable.js a lot lately for my React/Redux projects. Immutable.js greatly simplifies how you think about your application’s state. Since you should never mutate your state in Redux reducers, using a library like Immutable.js is a great choice to make things a little more pleasant for yourself when...

SPA routing in BrowserSync without hashes

Update: @tmdpw pointed me to another connect middleware that is even easier to use. The code below has been adjusted accordingly. I use BrowserSync in almost all of my web projects. It’s basically a development server on steroids that has a bunch of quality-of-life features, like live reloading (without needing...