Hey, I am React with hooks. There's something apparently not many people tell you about how I work.
Down the rabbit hole
Give me a component A and I'll:
On first render
Run A's state lazy initializers.
Render A.
Update the DOM.
Run A's layout effects.
Paint the DOM updates from 3.
Run A's effects.
On subsequent renders (props changed or state cha...
marcoss.hashnode.dev2 min read
Eman
Self-Taught | Web developer | Multilingual
We'll explained!