React Hooks
useState vs useRef: Which React Hook to Use When
Explore what these React hooks are, their functions, differences, and dive into specific use cases with easy-to-understand examples.
reactreact-hooksweb-development
The Right Way to Detect Mobile Breakpoints in Next.js
How to make useIsMobile hook in Next.js
nextjsreact-hooks
Mock Your Hooks to Make Testing Simpler
Mocking with Jest can have a weird learning curve. Let's see how to mock those hooks.
reacttestingjest
Why you shouldn’t always use “useState”
reactusestatereact-hooks
How to Create a Toggle Button in React Using Conditional Rendering
Create a toggle button to show and hide data using the useState hook.
javascriptreactusestate
Implement Debouncing in React in 3 Different Ways
reactjavascriptdebounce
Creating a generic text-input component with React
Gracefully managing forms and input values in React State (Part II)
reacttext-inputforms