Question Bank
3705 approved questions from the community
What is the purpose of React.StrictMode?
What does the useId hook do?
What is the main difference between useTransition and useDeferredValue?
React can combine multiple useReducer hooks with Context to create a scalable state management solution.
useState can accept a function as its initial value for lazy initialization.
useLayoutEffect can cause layout thrashing if used improperly.
What is a wrapper component in React?
Can you use multiple contexts in one component?
How can you prevent infinite loops with useEffect?
What happens if you return a Promise from useEffect?
What does capture phase mean in React events?
Which array methods should you prefer for updating state arrays? (Select all that apply)
What is the main difference between React Router's Page Router and App Router in Next.js?
What is the Immer library commonly used for in React?
What is the purpose of flushSync in React 18?
What are React Server Components?
What is the recommended way to handle forms in React?
What is the purpose of the useInsertionEffect hook?
What is the purpose of useSyncExternalStore?
What is React hydration?