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)

Searching Database…

Что это такое?Подборка из более чем 500 вопросов и ответов для собеседований по ReactJS, охватывающая основные концепции React, хуки, Redux, React Router и другое. Она призвана помочь разработчикам подготовиться к собеседованиям на работу с React.
Это список вопросов или полноценный курс?Это один большой README, организованный как оглавление вопросов. Каждый вопрос ведёт к короткому письменному ответу ниже по странице. Это не видеокурс и не интерактивное приложение для тестов.
Как устроено содержимое и с чего начать?Вопросы сгруппированы по темам, начиная с «Core React», и перечислены в оглавлении в начале страницы. Нажав на вопрос, вы перейдёте к его ответу. Начать можно с «What is React?», а затем перейти к более сложным темам.
Есть ли здесь практические задания по программированию или только теоретические вопросы?Пока здесь только теоретические вопросы и ответы. Раздел с практическими заданиями запланирован, но пока недоступен.
Здесь только основы React или также Redux и React Router?Здесь рассмотрен основной React (компоненты, хуки, JSX, Fiber и другое), а также связанные темы экосистемы, такие как Redux и React Router, — по перечню тем и дополнительным разделам.
Есть ли отдельный ресурс для подготовки к собеседованию по чистому JavaScript?Да, в README упоминается отдельный связанный репозиторий с вопросами для собеседований именно по основному JavaScript, поскольку этот фокусируется только на ReactJS.
Материал всё ещё обновляется?Да, авторы активно приглашают присылать pull request и упоминают предстоящие добавления, например вопросы с практическими заданиями.
Зачем использовать это вместо случайных блог-постов?Здесь собрано более 500 часто задаваемых на собеседованиях вопросов по React с краткими ответами в одном структурированном репозитории, который поддерживает сообщество, вместо разрозненных отдельных статей.
Creator
sudheerj
Size
18.9 MB
Stars
44.9K
Updated
CommitAug 31
Age
8y
Commits · 90 Days