Classical and Functional React Get Married and Bind the Knot in a Decorated Wedding

added by Gil Birman
7/1/2015 5:33:06 AM

3 Kicks, 150 Views

Two weeks ago, I described how to setup a simple, powerful, and highly performant functional architecture using immutable data structures in React with less than 100 lines of code. To summarize, by utilizing immutable data structures and a two-line subedit function, we were able to construct some simple mixins that automatically optimized shouldComponentUpdate to have a runtime of O(1) for arbitrarily large data sets.