Managing State With The Context API: Fix link text
Checks
- [x] This is not a duplicate of an existing issue (please have a look through our open issues list to make sure)
- [x] I have thoroughly read and understand The Odin Project Contributing Guide
- [ ] Would you like to work on this issue?
Describe your suggestion
The last link in Knowledge Check section contains the following link What are the ways you can avoid prop drilling?
The link text says "What are the ways you can avoid prop drilling", but the linked section talks about "how we can avoid problems with prop drilling". The text does not seem to accurately represent the linked topic.
In my opinion, just changing the link text to "how can we avoid problems with prop drilling" makes it seem out of place, since we don't ask any questions about problems with prop drilling before this.
I think, in addition to changing the link text, adding another question about "What problems can prop drilling cause?" before this one that links to the relevant section on Kent C. Dodd's article would fix the issue.
We could go from this: What are the benefits of using the Context API over passing props down through multiple levels of components? What are the drawbacks in using the Context API? How can we avoid prop-drilling?
To this: What are the benefits of using the Context API over passing props down through multiple levels of components? What are the drawbacks in using the Context API? What problems can prop drilling cause? How can we avoid problems with prop drilling?
Path
Node / JS
Lesson Url
https://www.theodinproject.com/lessons/node-path-react-new-managing-state-with-the-context-api
(Optional) Discord Name
ginned
(Optional) Additional Comments
No response
Another suggestion would be to re-order the questions so that we ask about prop drilling and its problem first, and then about the Context API and its problems. I think it would flow better. The re-ordered list could look like this:
What problems can prop drilling cause? How can we avoid problems with prop drilling? What are the benefits of using the Context API over passing props down through multiple levels of components? What are the drawbacks in using the Context API?
Hello @gingkapls thank you for making this issue.
I'm going to ping our @TheOdinProject/react team to get their opinions on how to go forward on this.
~~Not the react team anymore but~~ my 2¢ is full agreement with the proposed changes (reordering + new KC Q + rewording)
Assuming this gets the green light, I would like to work on this.
This issue is stale because it has had no activity for the last 30 days.
This issue is stale because it has had no activity for the last 30 days.
Sorry this took so long. @joelmast still up for this?
Yes, please.