Stop Building Your UI Components like this ❌
The Power of Compound Components

Search for a command to run...
Articles tagged with #reactjs
The Power of Compound Components

In today's post, we will learn to create a flipbook style animation by converting a simple class-based component into a functional component. If you used React Hooks for more than a few hours, you probably ran into an intriguing problem: using setInt...

ft. React Testing Library

This is part 2 of "I promise this hook will blow your 1000+ lines of Async code" WoW, part 1 got a solid response, if you haven't checked that yet go ahead here, it shows how this hook can help you write clean, robust and readable code. But as promis...

No pun intended there! The useAsync() hook which I learned to build from Epic React Workshop by Kent C. Dodds looks like this: function useSafeDispatch(dispatch) { const mounted = React.useRef(false) React.useLayoutEffect(() => { mounted.cu...
