Michele Stieven
1 min readJun 25, 2019

--

This article is an interesting read, but this technique is a “hack” rather than a good practice. The child component (User) should be responsible for handling its Inputs, you should not be forced to recreate the component each time one of its Inputs change. It’s just a terrible experience. If a dev in my team created that UserComponent and told me “Hey, you need to destroy this component at every change in order to use it" I don’t know what could come off my mouth :D UserComponent would be *broken*!

--

--

Responses (1)