Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2c785cd

Browse files
Create reactQuestions.md
1 parent bc2d1a3 commit 2c785cd

File tree

1 file changed

+199
-0
lines changed

1 file changed

+199
-0
lines changed

‎reactQuestions.md

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,199 @@
1+
What is React and why is it used?
2+
3+
How is React different from Angular or Vue?
4+
5+
What is a React component?
6+
7+
How do you create a component in React?
8+
9+
What is JSX and why do we use it in React?
10+
11+
Can you explain the virtual DOM in React?
12+
13+
What are the differences between a class component and a functional component?
14+
15+
How do you handle events in React?
16+
17+
What are state and props in React?
18+
19+
How do you pass data between components in React?
20+
21+
What is a stateful component?
22+
23+
Can you explain how useState works?
24+
25+
How do you update the state of a parent component from a child component?
26+
27+
What is lifting state up in React?
28+
29+
When do you use Redux or Context API for state management?
30+
31+
Explain the lifecycle methods of a React class component.
32+
33+
How do hooks work in React?
34+
35+
Can you describe the useEffect hook and its purpose?
36+
37+
How do you fetch data with hooks in React?
38+
39+
What rules do you have to follow when using hooks?
40+
41+
How do props work in React?
42+
43+
What is prop drilling and how can you avoid it?
44+
45+
Explain the Context API and its use cases.
46+
47+
How do you use render props?
48+
49+
What is the children prop?
50+
51+
Why is performance optimization important in React?
52+
53+
What is React.memo and when would you use it?
54+
55+
How does PureComponent differ from Component in React?
56+
57+
Can you explain the concept of reconciliation in React?
58+
59+
How can you prevent unnecessary re-renders in React?
60+
61+
How do you apply styles in a React application?
62+
63+
What is CSS-in-JS and how do you implement it in React?
64+
65+
Can you describe how Styled-Components work?
66+
67+
What are the advantages of using Sass or LESS in a React project?
68+
69+
How do you use inline styles in React?
70+
71+
What is React Router?
72+
73+
How do you create dynamic routes in React?
74+
75+
How would you pass data to routes in React Router v5+?
76+
77+
How do you programmatically navigate using React Router?
78+
79+
What are route guards and how can you implement them in React?
80+
81+
What are higher-order components (HOCs)?
82+
83+
Explain the container/presenter (smart/dumb) component pattern.
84+
85+
How would you implement a compound component pattern in React?
86+
87+
Explain the use of custom hooks in React.
88+
89+
What is a render prop pattern?
90+
91+
How do you handle forms in React?
92+
93+
What is controlled and uncontrolled components?
94+
95+
How do you validate forms in React?
96+
97+
What is Formik and how is it used in React forms?
98+
99+
How do you handle file uploads in React?
100+
101+
What are the benefits of using TypeScript with React?
102+
103+
How do you define types for props and state in TypeScript with React?
104+
105+
Explain how to use interfaces with React components and TypeScript.
106+
107+
How do TypeScript generics enhance react components?
108+
109+
Why is testing important in React?
110+
111+
What are some common testing libraries for React?
112+
113+
How do you test a React component with Jest?
114+
115+
Can you explain the difference between shallow rendering and mount rendering in Enzyme?
116+
117+
What is react-testing-library and how is it different from Enzyme?
118+
119+
What are React fragments and why are they useful?
120+
121+
What is React portal and when would you use it?
122+
123+
How does error boundary work in React?
124+
125+
What is server-side rendering and how is it done with React?
126+
127+
Can you explain the concept of suspense and lazy loading in React?
128+
129+
How does React affect SEO?
130+
131+
What strategies would you use to make a React application SEO-friendly?
132+
133+
How can server-side rendering improve SEO with React applications?
134+
135+
What is React Native and how is it different from React?
136+
137+
How do you bridge native modules in React Native?
138+
139+
Can you describe the layout system in React Native?
140+
141+
What is Apollo Client and how does it integrate with React?
142+
143+
How do you manage local state in Apollo Client?
144+
145+
What is Redux and how does it contrast with the Context API?
146+
147+
Can you detail the Redux workflow?
148+
149+
How do you handle side effects in Redux applications?
150+
151+
How do you set up a React project from scratch?
152+
153+
What is Babel and why do we use it with React?
154+
155+
What is Webpack and what role does it play in React development?
156+
157+
How does hot module replacement work in React?
158+
159+
What are the features of create-react-app and how do you eject from it?
160+
161+
How do you handle API calls in React?
162+
163+
What is Axios and how is it used over fetch in React applications?
164+
165+
How would you handle WebSocket connections in a React application?
166+
167+
What are some strategies used to connect a React front end to a backend server?
168+
169+
How would you deploy a React application?
170+
171+
How do you optimize the performance of a React application for production?
172+
173+
What are service workers and how can they benefit a React application?
174+
175+
How do you configure HTTPS in a React app?
176+
177+
Why is accessibility important in web development?
178+
179+
How can you make a React application accessible?
180+
181+
What is ARIA and how it is used in React?
182+
183+
What is internationalization (i18n) in React?
184+
185+
How do you implement localization (l10n) in a React app?
186+
187+
How do you structure large React applications?
188+
189+
What are some best practices when writing React code?
190+
191+
How do you ensure code quality and maintainability in a React project?
192+
193+
How do you manage feature branches in React development with Git?
194+
195+
What are your strategies for resolving merge conflicts in React projects?
196+
197+
How would you handle a feature request or bug report in an ongoing React project?
198+
199+
Describe your process for optimizing a component that has complex state logic and several child components.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /