An open API service indexing awesome lists of open source software.

https://github.com/anilsingh581/reactjs-interview-questions-and-answers

Top 50 React Interview Questions and Answers - For Freshers and Experienced
https://github.com/anilsingh581/reactjs-interview-questions-and-answers

interview-practice interview-preparation interview-questions interview-test javascript javascript-interview-questions react react-components react-hooks react-interview-questions react-interview-questions-and-answers react-native react-redux react-router react-router-dom reactjs redux typescript

Last synced: 3 months ago
JSON representation

Top 50 React Interview Questions and Answers - For Freshers and Experienced

Awesome Lists containing this project

README

        

# React Interview Questions and Answers
React Interview Questions & Answers for Freshers and Experienced

### Table of Contents

Hide/Show table of contents

| No. | Questions |
| --- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| | **Core React Q&A** |
| 1 | [What is React?](#what-is-react) |
| 2 | [What are the key features of React?](#What-are-the-key-features-of-React) |
| 3 | [What is JSX?](#what-is-jsx)
| 4 | [What is the Virtual DOM??](#What-is-the-Virtual-DOM?) |
| 5 | [Why Use the Virtual DOM?](#Why-Use-the-Virtual-DOM?) |
| 6 | [How Does the Virtual DOM Work?](#How-Does-the-Virtual-DOM-Work?)
| 7 | [What is a React component?](#What-is-a-React-component?) |
| 8 | [What are Props in React?](#What-are-Props-in-React?) |
| 9 | [Why Use Props?](#Why-Use-Props?)
| 10 | [What is State in React?](#What-is-State-in-React?) |
| 11 | [What are React Hooks?](#What-are-React-Hooks?) |
| 12 | [Why Were Hooks Introduced?](#Why-Were-Hooks-Introduced?) |
| 13 | [What is the difference between controlled and uncontrolled components??](#What-is-the-difference-between-controlled-and-uncontrolled-components?)
| 14 | [What is Context API?](#What-is-Context-API?) |
| 15 | [Why Use Context API?](#Why-Use-Context-API?) |
| 16 | [What is React Router?](#What-is-React-Router?)
| 17 | [Why Use React Router?](#Why-Use-React-Router?) |
| 18 | [What is the difference between useEffect and useLayoutEffect?](#What-is-the-difference-between-useEffect-and-useLayoutEffect?) |
| 19 | [How can you optimize a React application?](#How-can-you-optimize-a-React-application?)
| 20 | [How would you optimize the performance of a React application that re-renders unnecessarily when state changes?](#what-re-renders-unnecessarily-when-state-changes) |
| 21 | [Why React uses className over class attribute?](#Why-React-uses-className-over-class-attribute?) |
| 22 | [Why Not Just Use class?](#Why-Not-Just-Use-class?)
| 23 | [What is Redux, and how does it relate to React?](#what-is-redux) |
| 24 | [How Does Redux Relate to React?](#How-Does-Redux-Relate-to-React?) |
| 25 | [What is the difference between HTML and React event handling?](#What-is-the-difference-between-HTML-and-React-event-handling?)
| 26 | [What are synthetic events in React? ](#What-are-synthetic-events-in-React? ) |
| 27 | [Why Use Synthetic Events?](#Why-Use-Synthetic-Events?) |
| 28 | [What are inline conditional expressions?](#What-are-inline-conditional-expressions?)
| 29 | [Why Use Inline Conditional Expressions?](#Why-Use-Inline-Conditional-Expressions?) |
| 30 | [Explain React's Reconciliation Process?](#Explain-Reacts-Reconciliation-Process?) |
| 31 | [What is React Fiber?](#What-is-React-Fiber?)
| 32 | [How React Fiber Improves React?](#How-React-Fiber-Improves-React?) |
| 33 | [What are React Fragments and why are they used?](#What-are-React-Fragments-and-why-are-they-used?) |
| 34 | [What are stateless & stateful components?](#What-are-stateless-&-stateful-components?) |
| 35 | [What are the recommended ways for static type checking?](#What-are-the-recommended-ways-for-static-type-checking?)

### Table of Contents

Hide/Show table of contents


| No. | Questions |
| --- | ---------------------------------------------------------------------------- |
| | **Advance React** |
| 1 | [Why we need to be careful when spreading props on DOM elements?](#what-is-spreading-props-on-DOM-elements) |
| 2 | [What ?](#What)