Skip to content

Commit 5aed1b4

Browse files
authored
Added Beginner ReactJS Question
1 parent 25fd00c commit 5aed1b4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- **[Performance Optimization](#performance-optimization) 🚀**
2020
- **[APIs and Asynchronous Programming](#apis-and-asynchronous-programming) 🌐**
2121
- **[JavaScript Patterns and Best Practices](#javascript-patterns-and-best-practices) 🛠️**
22+
- **[Beginner ReactJS](#beginner-reactjs) ⚛️**
2223

2324

2425
## Basic JavaScript
@@ -667,4 +668,18 @@
667668
9. Describe the MVVM (Model-View-ViewModel) pattern and its role in frameworks like Knockout.js.
668669
10. How do you implement the Flux architecture in JavaScript applications, and what libraries are associated with it.
669670

671+
## Beginner ReactJS
672+
673+
1. How does React use the virtual DOM to make things faster?
674+
2. What are React Hooks, and why are they useful?
675+
3. Can you explain the difference between controlled and uncontrolled components in React?
676+
4. What is JSX in React, and how is it different from regular HTML? Can you provide an example?
677+
5. How does the `useEffect` hook help in React? Can you give an example?
678+
6. Why is the `key` attribute important when working with lists in React?
679+
7. What is the purpose of the `setState` method in React, and why is it used?
680+
8. Explain the concept of props in React and how they differ from state.
681+
9. How does conditional rendering work in React, and can you provide an example?
682+
10. What is the significance of the `render` method in a React component?
683+
11. How do you handle forms in React, and what is the role of controlled components?
684+
12. What is the purpose of the `React.Fragment` in React?
670685

0 commit comments

Comments
 (0)