In this article, we reintroduce closures by building a tiny clone of React Hooks. This will serve two purposes - to demonstrate the effective use of closures in building our React Hooks clone itself, and also to implement a naive mental model of how Hooks... (more…)
Read more »
We will learn about detecting click outside component using react hooks (useRef). This can be useful to close current component when clicked outside it. (more…)
Read more »
Friendly tutorials for developers. Focus on React, CSS, Animation, and more! (more…)
Read more »
Writing a React form without any additional dependencies isn’t much of a challenge itself. The same goes for applying client-side data validation. What might be troublesome is keeping all your forms consistent across a bigger project. If every developer i... (more…)
Read more »