Techniques for decomposing React components
David Tang
82712

Hello, I’ve taken the liberty of adjusting your proposed solution for the ‘Extract common aspects into higher-order components’ section.

My proposed solution makes no use of ReactDOM.findDOMNode(component), it instead relies on a wrapping div element to provide all the functionality with no extra dependencies.

You can check it out here:

https://gist.github.com/mstaicu/4ffe41b6980ad35d82deae4e32582ef0

One clap, two clap, three clap, forty?

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