Mixins Are Dead. Long Live Composition
Dan Abramov
1.4K18

While inheritance is certainly one way to get pure rendering, the most elegant way comes with the ES7 proposal (available currently through Babel stage 0) for class property transforms. With that, you just implement a pure render function as a module and import it. See https://github.com/gaearon/react-pure-render.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.