React MCQs

React Quiz Topics

Choose a level to explore subtopics and test your knowledge.

🟢 Beginner Level

React Introduction

What is React, Virtual DOM, benefits & architecture.

Start Test
JSX Syntax

JSX rules, expressions, fragments, rendering.

Start Test
Components

Functional and class components, structure, nesting.

Start Test
Props

Passing data, prop drilling, PropTypes.

Start Test
State

State usage in class & functional components.

Start Test
Events

Synthetic events, event handlers, binding.

Start Test

🟡 Intermediate Level

React Hooks

useState, useEffect, useRef, lifecycle patterns.

Start Test
Forms

Controlled/uncontrolled forms, validation logic.

Start Test
Conditional Rendering

Ternary operator, logical &&, inline conditions.

Start Test
List Rendering

map(), keys, nested lists in React.

Start Test
Lifting State Up

Sharing state across components via callbacks.

Start Test
React Router

Routing, navigation, dynamic & nested routes.

Start Test

🔴 Advanced Level

Context API

Global state, providers, consumers, no prop drilling.

Start Test
Memoization & Performance

React.memo, useMemo, useCallback optimizations.

Start Test
Custom Hooks

Reusable hook patterns and abstraction logic.

Start Test
Redux & State Libraries

Store, actions, reducers, middleware, Redux Toolkit.

Start Test
Testing with Jest & RTL

Unit testing components, hooks, mock functions.

Start Test
API Integration

Fetching data using Axios, fetch API, and React Query.

Start Test