reactjs-interview-questions README

The project's README from github.com/sudheerj/reactjs-interview-questions. As one markdown file: README.md.

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?
49 How do you implement Server-Side Rendering (SSR)?
50 How do you enable production mode in React?
51 Do Hooks replace render props and higher-order components?
52 What is a switching component?
54 What are the pointer events supported in React?
55 Why should component names start with a capital letter?
56 Are custom DOM attributes supported in React v16?
57 How do you loop inside JSX?
58 How do you access props within attribute quotes?
59 What is a React PropType array with shape?
60 How do you conditionally apply class attributes?
61 What is the difference between React and ReactDOM?
62 Why is ReactDOM separated from React?
63 How do you use the React label element?
64 How do you combine multiple inline style objects?
65 How do you re-render the view when the browser is resized?
66 How do you pretty-print JSON with React?
67 Why can’t you update props in React?
68 How do you focus an input element on page load?
69 How can you find the version of React at runtime in the browser?
70 How do you add Google Analytics for React Router?
71 How do you apply vendor prefixes to inline styles in React?
72 How do you import and export components using React and ES6?
73 What are the exceptions to React component naming?
74 Is it possible to use async/await in plain React?
75

reactjs-interview-questions (sudheerj/reactjs-interview-questions)

redux
Searching Database…

What is this?A curated list of over 500 ReactJS interview questions and answers covering core React concepts, hooks, Redux, React Router, and more, meant to help developers prepare for React job interviews.
Is this a list of questions or an actual course?It is a single long README organized as a table of contents of questions, each linked to a short written answer further down the page, not a video course or interactive quiz app.
How is the content organized and where should I start?Questions are grouped by topic starting with 'Core React' and listed in a table of contents at the top; you click a question to jump to its answer, starting from 'What is React?' and moving through more advanced topics.
Does it include coding exercises too, or just theory questions?Currently it only covers theory Q&A; a coding exercises section is planned but not yet available.
Does it cover only core React, or also Redux and React Router?It covers core React (components, hooks, JSX, Fiber, etc.) as well as related ecosystem topics like Redux and React Router, based on its listed topics and companion sections.
Is there a separate resource for plain JavaScript interview prep?Yes, the README notes a separate related repository specifically for core JavaScript interview questions, since this one focuses only on ReactJS.
Is the content still being updated?Yes, it actively invites pull requests and mentions upcoming additions like coding exercise questions.
Why would I use this instead of random blog posts?It consolidates 500+ commonly asked React interview questions with concise answers in one organized, community-maintained repository instead of scattered single articles.
Creator
sudheerj
Size
18.9 MB
Stars
44.9K
Updated
CommitAug 31
Age
8y
Commits · 90 Days