4 ms·
Every single one of these examples has a nearly identical anti-pattern using componentDidMount or componentDidUpdate. There's nothing here that's specific to h
by TheCoelacanth 4y ago
Every single one of these examples has a nearly identical anti-pattern using componentDidMount or componentDidUpdate.
There's nothing here that's specific to hooks. It's just people misunderstanding the React lifecycle.