|
21 | 21 | - **[JavaScript Patterns and Best Practices](#javascript-patterns-and-best-practices) 🛠️**
|
22 | 22 | - **[Beginner ReactJS](#beginner-reactjs) ⚛️**
|
23 | 23 | - **[Intermediate ReactJS](#intermediate-reactjs) ⚛️ 🚀**
|
| 24 | +- **[Advanced ReactJS](#advanced-reactjs) ⚛️ 🔥** |
24 | 25 |
|
25 | 26 |
|
26 | 27 | ## Basic JavaScript
|
|
708 | 709 | 20. How does the `componentDidMount` lifecycle method differ from `useEffect` in functional components?
|
709 | 710 |
|
710 | 711 |
|
| 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 | + |
711 | 748 |
|
0 commit comments