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

Adding user context for all components😍 & updating reviews #57

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

leo-paz
Copy link
Owner

@leo-paz leo-paz commented Apr 8, 2021

  • Used react context to keep track of signed in user state across whole app
  • Passed down user state and function to update state to all components
  • Used the update state function in all sign out/login/ sign up methods

@leo-paz leo-paz added this to the Milestone 3 milestone Apr 8, 2021
@leo-paz leo-paz self-assigned this Apr 8, 2021
Copy link
Collaborator

@adamlabelle adamlabelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I like that we got the global user state working!

@leo-paz leo-paz linked an issue Apr 9, 2021 that may be closed by this pull request
@leo-paz leo-paz merged commit 4efc06c into test Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Global authentication state
2 participants