Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
119 Questions75.9k Views5.0k Upvotes
26 easy45 med48 hard
Medium
5 questionsWhat is the difference between `useState` and `useReducer`?
Frontend ยท 1.2k views ยท hooks, state management, useState
Views:1.2kLikes:31
What are render props and how do they work?
Frontend ยท 1.0k views ยท patterns, reusability
Views:1.0kLikes:13
What is the difference between useMemo and useCallback?
Frontend ยท 750 views ยท hooks, performance, optimization
Views:750Likes:5
How do you prevent unnecessary re-renders in functional components?
Frontend ยท 706 views ยท performance, optimization, react.memo
Views:706Likes:68
What is `React.memo` and when would you use it?
Frontend ยท 94 views ยท performance, optimization, hoc
Views:94Likes:37
Hard
5 questionsHow do you optimize React component rendering?
Frontend ยท 929 views ยท performance, optimization, memoization
Views:929Likes:65
React Compiler โ how does auto-memoization work in React 19?
Frontend ยท 749 views ยท react-compiler, performance
Views:749Likes:71
Why does updating Context re-render all its consumers, and how do you fix it?
Frontend ยท 637 views ยท react, context, performance
Views:637Likes:11
Why must React state updates be immutable?
Frontend ยท 601 views ยท react, state, immutability
Views:601Likes:40
When does `React.memo` do nothing โ or actually hurt performance?
Frontend ยท 404 views ยท react, performance, memoization
Views:404Likes:34
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question