Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
119 Questions75.9k Views5.0k Upvotes
26 easy45 med48 hard
Easy
2 questionsMedium
5 questionsWhat is the difference between `useState` and `useReducer`?
Frontend Β· 1.2k views Β· hooks, state management, useState
Views:1.2kLikes:31
What is the purpose of the `deps` array in `useEffect` and `useCallback`?
Frontend Β· 1.1k views Β· hooks, usestate, usecallback
Views:1.1kLikes:12
How do you test React components?
Frontend Β· 880 views Β· testing, jest, react testing library
Views:880Likes:11
What are React custom hooks and when should you use them?
Frontend Β· 820 views Β· hooks, reusability
Views:820Likes:52
When would you choose a class component over a functional component with hooks?
Frontend Β· 610 views Β· class components, functional components, hooks
Views:610Likes:25
Hard
4 questionsWhat are Actions in React 19, and how do they change form handling?
Frontend Β· 1.1k views Β· react, react-19, actions
Views:1.1kLikes:47
What does the `useActionState` hook do in React 19?
Frontend Β· 947 views Β· react, react-19, hooks
Views:947Likes:27
Why does React 18 StrictMode double-invoke your components and effects?
Frontend Β· 908 views Β· react, strict-mode, effects
Views:908Likes:13
What underlying mechanism makes the Rules of Hooks mandatory?
Frontend Β· 659 views Β· react, hooks, internals
Views:659Likes:49
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question