Product
Resources
Pricing
Blog
Sign in
Start free trial
30
Total Questions
8
easy
15
intermediate
7
advanced
0
expert
What's Covered in This Guide
1
React Fundamentals
10 questions
2
Hooks Deep Dive
7 questions
3
Advanced Patterns
8 questions
4
Testing
2 questions
5
Real-World Scenarios
3 questions
Filter:
All Levels
Easy
Intermediate
Advanced
Expert
Question Categories
React Fundamentals
10
Hooks Deep Dive
7
Advanced Patterns
8
Testing
2
Real-World Scenarios
3
React Fundamentals
10 questions
1
What is JSX and why do we use it in React?
Easy
2-3 min
JSX
jsx
basics
syntax
2
What's the difference between functional and class components?
Easy
3-4 min
Components
components
hooks
class
3
What is the virtual DOM and how does React use it?
Intermediate
3-4 min
Core Concepts
virtual-dom
reconciliation
performance
4
How do props and state differ in React?
Easy
2-3 min
Core Concepts
props
state
data-flow
5
What are React keys and why are they important?
Easy
2-3 min
Lists
keys
lists
reconciliation
6
How does conditional rendering work in React?
Easy
2-3 min
Rendering
conditional
rendering
jsx
7
What is the children prop in React?
Easy
2-3 min
Components
children
composition
props
8
How do you handle events in React?
Easy
2-3 min
Events
events
handlers
synthetic-events
9
What are controlled vs uncontrolled components?
Intermediate
3-4 min
Forms
forms
controlled
uncontrolled
10
What is lifting state up in React?
Intermediate
3-4 min
State Management
state
composition
data-flow
Hooks Deep Dive
7 questions
11
What is useState and how does it work?
Easy
2-3 min
Hooks
useState
state
hooks
12
What is useEffect and what are its use cases?
Intermediate
4-5 min
Hooks
useEffect
side-effects
lifecycle
13
What are useCallback and useMemo? When should you use them?
Intermediate
4-5 min
Hooks
useCallback
useMemo
optimization
14
How does useRef work and when should you use it?
Intermediate
3-4 min
Hooks
useRef
refs
dom
15
What is useContext and how do you use it?
Intermediate
3-4 min
Hooks
useContext
context
state-management
16
What is useReducer and when should you use it over useState?
Intermediate
4-5 min
Hooks
useReducer
state
complex-state
17
How do you create custom hooks?
Intermediate
4-5 min
Hooks
custom-hooks
hooks
composition
Advanced Patterns
8 questions
18
What are Error Boundaries and how do you implement them?
Advanced
4-5 min
Error Handling
error-boundary
error-handling
class
19
What is React.memo and how does it differ from useMemo?
Intermediate
3-4 min
Performance
memo
optimization
performance
20
How do you implement code splitting and lazy loading in React?
Advanced
4-5 min
Performance
lazy
suspense
code-splitting
21
Explain React's reconciliation algorithm.
Advanced
5-6 min
Core Concepts
reconciliation
diffing
fiber
22
How do you optimize React application performance?
Advanced
5-6 min
Performance
optimization
performance
profiling
23
What is the Context API and when should you avoid it?
Intermediate
4-5 min
State Management
context
state-management
performance
24
How do you handle data fetching in React?
Intermediate
5-6 min
Data Fetching
fetching
async
state
25
What are render props and how do they compare to hooks?
Advanced
4-5 min
Patterns
render-props
patterns
composition
Testing
2 questions
26
How do you test React components?
Intermediate
5-6 min
Testing
testing
rtl
jest
27
How do you mock in React tests?
Intermediate
4-5 min
Testing
mocking
jest
testing
Real-World Scenarios
3 questions
28
How do you handle forms in React?
Intermediate
4-5 min
Forms
forms
validation
react-hook-form
29
How do you implement authentication in a React app?
Advanced
5-6 min
Auth
authentication
jwt
security
30
How do you structure a large React application?
Advanced
5-6 min
Architecture
architecture
structure
patterns