React Preparation Pack

Master functional components, hooks lifecycle, reconciliation, virtual DOM internals, and state synchronization.

Question Cards

Showing 34 of 34 drills
Card #1easy

What is the Virtual DOM in React?

#React#Virtual DOM
Read card
Card #2medium

What are React Hooks?

#React Hooks#useState
Read card
Card #3medium

What is useEffect and when should you use it?

Read card
Card #4hard

What is the difference between useMemo and useCallback?

#React Performance#useMemo
Read card
Card #5medium

Explain the difference between useEffect hooks and useLayoutEffect hooks.

#React Hooks#Lifecycles
Read card
Card #6easy

What is the Virtual DOM and how does React use it to render pages?

#React#DOM
Read card
Card #7medium

What is React Context API?

#React Context#Global State
Read card
Card #8hard

How does React Reconciliation work?

#React Reconciliation#Virtual DOM
Read card
Card #9easy

What is the difference between State and Props in React?

#React#Props
Read card
Card #10easy

What is JSX and why is it used in React?

#React#JSX
Read card
Card #11easy

What is the difference between Functional Components and Class Components?

#React#Components
Read card
Card #12medium

Why are keys important when rendering lists in React?

#React#Keys
Read card
Card #13medium

What is useRef and when should you use it?

#React Hooks#useRef
Read card
Card #14medium

What is the difference between Controlled and Uncontrolled Components?

#React Forms#Controlled Components
Read card
Card #15medium

What is React Router and why is it used?

#React Router#Routing
Read card
Card #16hard

What is React.memo and when should you use it?

#React Performance#React.memo
Read card
Card #17hard

What is code splitting in React?

#React#Code Splitting
Read card
Card #18hard

When would you choose Context API over Redux?

#React State Management#Context API
Read card
Card #19hard

What are Error Boundaries in React?

#React#SSR
Read card
Card #20medium

What are Custom Hooks in React?

#React#Hooks
Read card
Card #21easy

What are Synthetic Events in React?

#React#Events
Read card
Card #22hard

What is React.lazy and Suspense?

#React#Lazy Loading
Read card
Card #23hard

What is Server-Side Rendering (SSR) in React?

#React#SSR
Read card
Card #24hard

What are React Portals?

#React#Portals
Read card
Card #25hard

What is Concurrent Rendering in React?

#React#Concurrent Rendering
Read card
Card #26medium

What is Lifting State Up in React?

#React#State
Read card
Card #27hard

What is a Higher-Order Component (HOC)?

#React#HOC
Read card
Card #28medium

What is React.StrictMode?

#React#StrictMode
Read card
Card #29easy

What is React.Fragment and why would you use it?

#React#Fragment
Read card
Card #30medium

What is useReducer and when should you use it?

#React#Hooks
Read card
Card #31hard

What is Hydration in React?

#React#Hydration
Read card
Card #32medium

What is Prop Drilling and how can it be avoided?

#React#Props
Read card
Card #33easy

What is Conditional Rendering in React?

#React#Rendering
Read card
Card #34medium

What is the purpose of the dependency array in useEffect?

#React#Hooks
Read card

Frequently Asked Questions

What is the primary role of React?

React is a component-based frontend library for building highly interactive user interfaces.

Is React 19 backward compatible?

Yes, React 19 keeps backward compatibility for class components while introducing automated compilers.