Too Long; Didn't Read
Building front-end apps these days involves a lot of complexity. Gone are the days when some html sprinkled with a bit of jQuery would cut it. Today we want responsive, rich, dynamic single page apps (<strong>SPA</strong>) that can work on a vast array of devices and browsers — this is no easy task. Luckily we have powerful frameworks and libraries that can help us. In this article I show how decomposing state from the presentational layer can both reduce complexity and promote code re-use with some <a href="https://facebook.github.io/react/" target="_blank">React</a> examples— a win-win situation helping to tame the challenges of developing SPAs. Although I’m using React, the lessons are universal and can apply to any <a href="https://hackernoon.com/tagged/framework" target="_blank">framework</a>.