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

Add useCustomer hook to access customer data #124

Merged
merged 1 commit into from
Jul 12, 2020

Conversation

Vadorequest
Copy link
Member

@Vadorequest Vadorequest commented Jul 12, 2020

Previous way was to use the customerContext directly from component, this has been replaced by using useCustomer hook instead.

… and update existing usage + add doc about when not to use React Context
@Vadorequest Vadorequest marked this pull request as ready for review July 12, 2020 07:15
@github-actions
Copy link

✅  Deployment SUCCESS
Commit 88804aa successfully deployed to https://nrn-v2-mst-aptd-at-lcz-sty-c1-owlphigdn.vercel.app
Deployment aliased as https://nrn-v2-mst-aptd-at-lcz-sty-c1-add-usecust.vercel.app

@github-actions
Copy link

✅  E2E tests SUCCESS

@Vadorequest Vadorequest merged commit 458bc66 into v2-mst-aptd-at-lcz-sty Jul 12, 2020
@Vadorequest Vadorequest deleted the add-useCustomer-hook branch July 12, 2020 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant