MCPcopy
hub / github.com/sudheerj/reactjs-interview-questions

github.com/sudheerj/reactjs-interview-questions @main sqlite

repository ↗ · DeepWiki ↗
17 symbols 42 edges 24 files 0 documented · 0%
README

React Interview Questions & Answers

Click :star: if you like the project. Pull Requests are highly appreciated. Follow me @SudheerJonna for technical updates.


GreatFrontEnd React Interview Questions

Practice 280+ JavaScript coding interview questions in-browser. Built by ex-FAANG interviewers. No AI-generated fluff. No fake reviews. Try GreatFrontEnd → 💡

ZTM Logo

I recommend this React course to become top 10% at React and this coding interview bootcamp to ace your coding interview and actually get hired.


Resume Loom


Note: This repository is specific to ReactJS. Please check JavaScript Interview Questions for core JavaScript questions and Data Structures and Algorithms for DSA-related questions or problems.

Table of Contents

Hide/Show table of contents

No. Questions
Core React
1 What is React?
2 What is the history behind React’s evolution?
3 What are the major features of React?
4 What is JSX?
5 What is the difference between an Element and a Component?
6 How do you create components in React?
7 When should you use a Class Component over a Function Component?
8 What are Pure Components?
9 What is state in React?
10 What are props in React?
11 What is the difference between state and props?
12 What is the difference between HTML and React event handling?
13 What are synthetic events in React?
14 What are inline conditional expressions?
15 What is the "key" prop and what is its benefit when used in arrays of elements?
16 What is the Virtual DOM?
17 How does the Virtual DOM work?
18 What is the difference between Shadow DOM and Virtual DOM?
19 What is React Fiber?
20 What is the main goal of React Fiber?
21 What are controlled components?
22 What are uncontrolled components?
23 What is the difference between createElement and cloneElement?
24 What is Lifting State Up in React?
25 What are Higher-Order Components?
26 What is the children prop?
27 How do you write comments in React?
28 What is reconciliation?
29 Does the lazy function support named exports?
30 Why does React use className instead of the class attribute?
31 What are Fragments?
32 Why are Fragments better than container divs?
33 What are portals in React?
34 What are stateless components?
35 What are stateful components?
36 How do you apply validation to props in React?
37 What are the advantages of React?
38 What are the limitations of React?
39 What are the recommended ways for static type checking?
40 What is the use of the react-dom package?
41 What is ReactDOMServer?
42 How do you use innerHTML in React?
43 How do you apply styles in React?
44 How are events different in React?
45 What is the impact of using indexes as keys?
46 How do you conditionally render components?
47 Why do we need to be careful when spreading props on DOM elements?
48 How do you memoize a component?

Core symbols most depended-on inside this repo

useFetch
called by 4
coding-exercise/src/exercises/exercise-04-custom-hooks/Solution.js
registerValidSW
called by 2
coding-exercise/src/serviceWorker.js
fetchData
called by 2
coding-exercise/src/exercises/exercise-04-custom-hooks/Solution.js
checkValidServiceWorker
called by 1
coding-exercise/src/serviceWorker.js
register
called by 0
coding-exercise/src/serviceWorker.js
unregister
called by 0
coding-exercise/src/serviceWorker.js
renderView
called by 0
coding-exercise/src/App.js
NavigationButton
called by 0
coding-exercise/src/components/NavigationButton.js

Shape

Function 17

Languages

TypeScript100%

Modules by API surface

coding-exercise/src/exercises/exercise-04-custom-hooks/Solution.js5 symbols
coding-exercise/src/serviceWorker.js4 symbols
coding-exercise/src/exercises/exercise-03-useCallback-memoization/Solution.js2 symbols
coding-exercise/src/exercises/exercise-01-state-batching/Solution.js2 symbols
coding-exercise/src/exercises/exercise-03-useCallback-memoization/Problem.js1 symbols
coding-exercise/src/exercises/exercise-01-state-batching/Problem.js1 symbols
coding-exercise/src/components/NavigationButton.js1 symbols
coding-exercise/src/App.js1 symbols

Dependencies from manifests, versioned

@testing-library/jest-dom4.2.4 · 1×
@testing-library/react9.3.2 · 1×
@testing-library/user-event7.1.2 · 1×
react16.13.1 · 1×
react-dom16.13.1 · 1×
react-scripts3.4.1 · 1×

For agents

$ claude mcp add reactjs-interview-questions \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact