Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use React Context instead of prop drilling #45

Open
connietran-dev opened this issue Aug 22, 2021 · 0 comments
Open

Use React Context instead of prop drilling #45

connietran-dev opened this issue Aug 22, 2021 · 0 comments

Comments

@connietran-dev
Copy link
Contributor

This issue is to refactor the code to use React Context instead of prop drilling.

A good example of having to prop drill was in PR #44 in which handleModalOpen is passed down from App.js to List.js to ShoppingList.js to ShoppingListItem.js in order for the delete modal to open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant