This week: Component Utilities

Everyone is looking for an edge in component creation: should I use createClass or ES6 classes? When should I use higher-order components? Are mixins dead? How to a create side-effects in a declarative world?

In this issue, we're going to point you to a few approaches to each of these things.

A big theme of this issue is how you reuse code between components. You can do that via mixins, decorators, factories, and higher-order components (components that take another component as an argument and return a new component).

Especially checkout react-stamp below. Stamp is a new proposal for a standard way to create components. With WebComponents, React, and Angular all starting to look more similar than different, it's interesting to see movement towards standardization

Until next time,

--Nate

 

Code









About


Like what you've been reading from Fullstack React? You can help us spread the word. Please forward this email to you friends (and let them know they can subscribe here).


Follow us on Twitter


Curated with love by Nate Murray and the Fullstack.io team.

Suggestions are welcome, just reply to this email - we'd love to hear from you.