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 101c95e

Browse files
Added Advanced ReactJS Quest ions
1 parent 1a46fcb commit 101c95e

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

‎README.md‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- **[JavaScript Patterns and Best Practices](#javascript-patterns-and-best-practices) 🛠️**
2222
- **[Beginner ReactJS](#beginner-reactjs) ⚛️**
2323
- **[Intermediate ReactJS](#intermediate-reactjs) ⚛️ 🚀**
24+
- **[Advanced ReactJS](#advanced-reactjs) ⚛️ 🔥**
2425

2526

2627
## Basic JavaScript
@@ -708,4 +709,40 @@
708709
20. How does the `componentDidMount` lifecycle method differ from `useEffect` in functional components?
709710

710711

712+
## Advanced ReactJS
713+
714+
1. How can a child component communicate with a parent in React?
715+
2. How do you pass data from one React component to another?
716+
3. What is the difference between real DOM and virtual DOM in React?
717+
4. How can you make React re-render only a specific component without the entire browser?
718+
5. What distinguishes stateful and stateless components in React?
719+
6. How do you send data from a parent component to a child component in React?
720+
7. Why did React move away from class-based components?
721+
8. What is the `useEffect` hook, and why is it useful in React?
722+
9. Explain lazy routing in React with a simple example.
723+
10. Why use className instead of class in React for styling?
724+
11. What is an error boundary in React, and why is it helpful?
725+
12. How does Axios differ from Fetch in React, and when would you use each?
726+
13. What are the limitations of React.js?
727+
14. Differences between local storage and session storage in React, and how do you use them?
728+
15. Why is React so popular?
729+
16. What is JSX, and how does it make React development easier?
730+
17. How do `useMemo` and `useCallback` differ in React, and when do you use each?
731+
18. Differences between `useState` and `useReducer` in React and their use cases.
732+
19. Explain the purpose of `React.createRef` in React and when it's preferable.
733+
20. What does the `memo` function do in React, and when would you use it?
734+
21. What is the role of the `useLayoutEffect` hook in React, and when is it used?
735+
22. Differences between shallow rendering and full rendering in React testing.
736+
23. What is the role of the `children` prop in React components?
737+
24. How does React handle routing in Single Page Applications (SPAs)?
738+
25. What does the `dangerouslySetInnerHTML` prop do in React?
739+
26. When and why would you use `React.PureComponent` in React?
740+
27. Explain automatic batching in React and how it improves performance.
741+
28. What is an error boundary in React, and why is it helpful?
742+
29. Differences between useState and useReducer in React and their use cases.
743+
30. What is suspense in the server in React, and how does it contribute to improving user experience in asynchronous operations?
744+
31. What is reconciliation in React, and how does it play a crucial role in updating the DOM efficiently?
745+
32. Differences between Higher Order Components and React Hooks.
746+
33. Differences between functional components and class-based components and why functional components are needed.
747+
711748

0 commit comments

Comments
(0)

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