Remove duplicate questions

This commit is contained in:
Kamran Ahmed committed 2023-09-18 16:19:39 +01:00
1 parent 81983b6b06
commit e07112a3a9
4 files changed
+1 -29

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ questions:
- 'Performance'
- 'Intermediate'
- question: How does React handle prop drilling, and what are the downsides of excessive prop drilling?
- answer: Prop drilling is the process of passing data from a parent component to deeply nested child components through props. While React doesn't prohibit this, it can lead to code that is hard to maintain and understand. Excessive prop drilling can make it challenging to track data flow and can result in unnecessary re-renders. To mitigate these issues, you can use Context API or state management libraries like Redux.
answer: Prop drilling is the process of passing data from a parent component to deeply nested child components through props. While React doesn't prohibit this, it can lead to code that is hard to maintain and understand. Excessive prop drilling can make it challenging to track data flow and can result in unnecessary re-renders. To mitigate these issues, you can use Context API or state management libraries like Redux.
topics:
- 'Core'
- 'Intermediate'