React Practice
Study all questions and answers at your own pace
What are React Hooks and why were they introduced?
Describe the Virtual DOM and how React uses it.
Explain the component lifecycle in React class components.
What is the Context API and when would you use it?
What is the difference between useState and useReducer?
Explain the useEffect hook and its dependency array.
What is the purpose of useMemo and useCallback?
Explain the concept of lifting state up in React.
What are React Fragments and why are they useful?
What is the difference between props and state?
Explain the concept of keys in React lists.
What are Higher Order Components (HOCs)?
What are Render Props in React?
Explain the difference between Class Components and Functional Components.
What is the purpose of the useRef hook?
What is React.memo and when should you use it?
Explain the concept of Lazy Loading in React.
What are Error Boundaries in React?
What is the difference between useEffect and useLayoutEffect?
Explain the concept of Custom Hooks in React.
What is the purpose of useImperativeHandle?
Explain controlled and uncontrolled form inputs.
What is the purpose of useId?
Explain Component Composition in React.
What is the difference between Presentational and Container Components?
What are React Portals?
Explain Reconciliation in React.
What is useTransition?
What is useDeferredValue?
Explain the concept of Strict Mode in React.
What are the benefits of using TypeScript with React?
Explain Server Side Rendering (SSR) in React.
What is useSyncExternalStore?
Explain Prop Drilling and how to avoid it.
What are the Rules of Hooks?
Explain Synthetic Events in React.
What is useInsertionEffect?
Explain Concurrent Rendering in React 18.
What is the difference between createElement and JSX?
Explain forwardRef in React.
What are the benefits of using React?
Explain batching in React.
What is useDebugValue?
Explain Suspense in React.
What is the difference between Client-Side Rendering and Server-Side Rendering?
Explain Hydration in React.
What are React component naming best practices?
Explain lifecycle behavior in Functional Components.
What is the purpose of useReducer?
Explain state management in React applications.
What are common React performance optimization techniques?
Explain component testing in React.
What is useContext?
Explain accessibility in React applications.
What are React project structure best practices?
Explain Internationalization (i18n) in React.
What is useSearchParams?
Explain Progressive Enhancement in React.
What are the most important React best practices for production applications?
