Skip to content
This repository was archived by the owner on May 13, 2021. It is now read-only.

♻️ Add Cart as children#1

Open
lmachens wants to merge 4 commits intomainfrom
context
Open

♻️ Add Cart as children#1
lmachens wants to merge 4 commits intomainfrom
context

Conversation

@lmachens
Copy link
Copy Markdown
Owner

@lmachens lmachens commented Mar 25, 2021

Is it required to use a context? Maybe composition components are doing fine too:
https://reactjs.org/docs/composition-vs-inheritance.html

Where to start?
https://reactjs.org/docs/context.html
Hooks version of documentation:
https://reactwithhooks.netlify.app/docs/context.html
useContext hook:
https://reactjs.org/docs/hooks-reference.html#usecontext

@lmachens lmachens marked this pull request as ready for review March 25, 2021 16:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant