I've spent a good deal of the past year working with React. I've written, refactored, and re-written many components in that time, and I've seen some best practices and anti-patterns emerge.
Contents:
* Use the PureRenderMixin
* Use Prop Types
* Avoid State
* Centralize State
* Do More in render()
* Mixins are awesome
* It's Okay to use Instance Properties
* Think in Elements
Your new post is loading...