Skip to content

Commit 1a46fcb

Browse files
authored
Update README.md
Added Intermediate ReactJS Questions
1 parent 5aed1b4 commit 1a46fcb

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
- **[APIs and Asynchronous Programming](#apis-and-asynchronous-programming) 🌐**
2121
- **[JavaScript Patterns and Best Practices](#javascript-patterns-and-best-practices) 🛠️**
2222
- **[Beginner ReactJS](#beginner-reactjs) ⚛️**
23+
- **[Intermediate ReactJS](#intermediate-reactjs) ⚛️ 🚀**
2324

2425

2526
## Basic JavaScript
@@ -683,3 +684,28 @@
683684
11. How do you handle forms in React, and what is the role of controlled components?
684685
12. What is the purpose of the `React.Fragment` in React?
685686

687+
## Intermediate ReactJS
688+
689+
1. Can you explain Higher Order Components (HOC) in React in simple terms?
690+
2. What is Redux, and how does it work with React?
691+
3. Explain the Flux architecture briefly and its connection to React.
692+
4. When should you use Redux instead of local state management in React?
693+
5. How is React Context different from Redux for state management?
694+
6. What is the `shouldComponentUpdate` method in React, and why is it important for performance?
695+
7. What are useMemo and useCallback hooks in React, and when do you use each?
696+
8. Can you give an example of code splitting in React? Why is it useful?
697+
9. What is server-side rendering (SSR) in React, and why might you use it?
698+
10. How does the `dangerouslySetInnerHTML` attribute work in React?
699+
11. What are portals in React, and when might you use them?
700+
12. How does lazy loading improve React app performance?
701+
13. How do you prevent unnecessary re-renders in React?
702+
14. Explain the difference between state and context in React.
703+
15. How does event handling differ in React compared to traditional HTML?
704+
16. Explain the concept of "lifting state up" in React and when it is beneficial.
705+
17. What is the significance of the `this` keyword in class components in React?
706+
18. How does error handling work in React applications?
707+
19. What are React refs, and how are they used in React components?
708+
20. How does the `componentDidMount` lifecycle method differ from `useEffect` in functional components?
709+
710+
711+

0 commit comments

Comments
 (0)