useEffect

You might be using useEffect wrong the whole time

I had a tryst with the eslint exhaustive-deps rule recently. It made me go down the rabbit hole and realize…

2 years ago

Call a child component’s method from its parent in React

Invoking a parent component’s method from a child component is pretty straightforward in React. We can do it by passing…

2 years ago