Sector file // reactjs
REACT.JSDECODED.
Hooks, rendering & state
Easy
4 questionsWhat are React Developer Tools and how do you use them?
Frontend ยท 893 views ยท debugging, tools, developer experience
What is the purpose of the `key` prop when rendering lists in React?
Frontend ยท 891 views ยท lists, keys, performance
How do you pass data between components in React?
Phone Screen ยท 803 views ยท props, data flow, component communication
What is the Virtual DOM in React?
Frontend ยท 404 views ยท virtual dom, performance, reconciliation
Medium
10 questionsDescribe the `useRef` hook and its typical use cases.
Frontend ยท 1.1k views ยท hooks, useref, dom manipulation
Explain the concept of 'composition' in React components.
Frontend ยท 969 views ยท composition, components, design patterns
How does React's Batching work?
Frontend ยท 905 views ยท state, performance, rendering
What is the difference between useMemo and useCallback?
Frontend ยท 750 views ยท hooks, performance, optimization
How do you handle memory leaks in React?
Frontend ยท 724 views ยท performance, hooks, debugging
How do you prevent unnecessary re-renders in functional components?
Frontend ยท 706 views ยท performance, optimization, react.memo
What is 'prop drilling' and how can it be avoided?
Frontend ยท 552 views ยท prop drilling, context api, state management
How do you optimize performance in a React application?
Frontend ยท 228 views ยท performance, optimization, memoization
Hard
16 questionsHow do you optimize React component rendering?
Frontend ยท 929 views ยท performance, optimization, memoization
How do you avoid re-renders with composition instead of memoization?
Frontend ยท 921 views ยท react, performance, composition
What is `useDeferredValue` and how does it differ from debouncing?
Frontend ยท 913 views ยท react, concurrent, performance
Why does React 18 StrictMode double-invoke your components and effects?
Frontend ยท 908 views ยท react, strict-mode, effects
How do Suspense data-fetching waterfalls happen, and how do you avoid them?
Frontend ยท 820 views ยท react, suspense, performance
What is server-side rendering (SSR) and when would you use it with React?
Frontend ยท 767 views ยท ssr, performance, seo
React Compiler โ how does auto-memoization work in React 19?
Frontend ยท 749 views ยท react-compiler, performance
Why does updating Context re-render all its consumers, and how do you fix it?
Frontend ยท 637 views ยท react, context, performance
Seen a React.js question that is not here? Add it and help the next candidate.
Share a question