From 194961ec7e87ab6f2ea63fc56039701055ab9f71 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 26 Sep 2025 23:49:12 -0700 Subject: [PATCH 1/3] add composition video --- react/more_react_concepts/managing_state_with_context_api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/react/more_react_concepts/managing_state_with_context_api.md b/react/more_react_concepts/managing_state_with_context_api.md index 4aca69e7635..8c73476754b 100644 --- a/react/more_react_concepts/managing_state_with_context_api.md +++ b/react/more_react_concepts/managing_state_with_context_api.md @@ -284,3 +284,5 @@ The following questions are an opportunity to reflect on key topics in this less This section contains helpful links to related content. It isn't required, so consider it supplemental. - For some extra practice/review, check out the [React docs lesson on passing data with Context](https://react.dev/learn/passing-data-deeply-with-context). + +- [This video](https://www.youtube.com/watch?v=3XaXKiXtNjw) gives a great explanation on using composition instead of useContext, but if you find yourself prop drilling down 2-4 "dumb" components composition should be used. \ No newline at end of file From b4e6882059d4db0bfc3576ebab7f50538e633e64 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 27 Sep 2025 00:01:47 -0700 Subject: [PATCH 2/3] reword composition video --- react/more_react_concepts/managing_state_with_context_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/more_react_concepts/managing_state_with_context_api.md b/react/more_react_concepts/managing_state_with_context_api.md index 8c73476754b..dba87631e56 100644 --- a/react/more_react_concepts/managing_state_with_context_api.md +++ b/react/more_react_concepts/managing_state_with_context_api.md @@ -285,4 +285,4 @@ This section contains helpful links to related content. It isn't required, so co - For some extra practice/review, check out the [React docs lesson on passing data with Context](https://react.dev/learn/passing-data-deeply-with-context). -- [This video](https://www.youtube.com/watch?v=3XaXKiXtNjw) gives a great explanation on using composition instead of useContext, but if you find yourself prop drilling down 2-4 "dumb" components composition should be used. \ No newline at end of file +- [This video on React composition patterns](https://www.youtube.com/watch?v=3XaXKiXtNjw) gives a great explanation on using composition instead of useContext, but if you find yourself prop drilling down 2-4 "dumb" components composition should be used. From 6fc67d3e29e45adeb0c69a5f166b7abbd1e11265 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 27 Sep 2025 00:03:35 -0700 Subject: [PATCH 3/3] removes this and here to be more specific --- react/more_react_concepts/managing_state_with_context_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/more_react_concepts/managing_state_with_context_api.md b/react/more_react_concepts/managing_state_with_context_api.md index dba87631e56..6ef52108d26 100644 --- a/react/more_react_concepts/managing_state_with_context_api.md +++ b/react/more_react_concepts/managing_state_with_context_api.md @@ -285,4 +285,4 @@ This section contains helpful links to related content. It isn't required, so co - For some extra practice/review, check out the [React docs lesson on passing data with Context](https://react.dev/learn/passing-data-deeply-with-context). -- [This video on React composition patterns](https://www.youtube.com/watch?v=3XaXKiXtNjw) gives a great explanation on using composition instead of useContext, but if you find yourself prop drilling down 2-4 "dumb" components composition should be used. +- [Using Composition in React to Avoid "Prop Drilling"](https://www.youtube.com/watch?v=3XaXKiXtNjw) gives a great explanation on using composition instead of useContext, but if you find yourself prop drilling down 2-4 "dumb" components composition should be used.