1377 Views
Here is our Farm Component, written as a class. I've exaggerated a bit to prove a point - how often are you actually implementing shouldComponentUpdate ?- but otherwise it's a pretty typical component. And this is the same component, written functionally. Note that I use some helpers from the aforementioned library, recompose.
0 comments