Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
119 Questions76.2k 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 ยท 752 views ยท hooks, performance, optimization
Views:752Likes:5
How do you prevent unnecessary re-renders in functional components?
Frontend ยท 709 views ยท performance, optimization, react.memo
Views:709Likes:68
What is `React.memo` and when would you use it?
Frontend ยท 98 views ยท performance, optimization, hoc
Views:98Likes:37
Hard
5 questionsHow do you optimize React component rendering?
Frontend ยท 932 views ยท performance, optimization, memoization
Views:932Likes:65
React Compiler โ how does auto-memoization work in React 19?
Frontend ยท 750 views ยท react-compiler, performance
Views:750Likes:71
Why does updating Context re-render all its consumers, and how do you fix it?
Frontend ยท 640 views ยท react, context, performance
Views:640Likes:11
Why must React state updates be immutable?
Frontend ยท 602 views ยท react, state, immutability
Views:602Likes:40
When does `React.memo` do nothing โ or actually hurt performance?
Frontend ยท 407 views ยท react, performance, memoization
Views:407Likes:34
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question