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

Move logged in user to react context #330

Merged
merged 1 commit into from
Dec 23, 2018

Conversation

Betree
Copy link
Member

@Betree Betree commented Dec 23, 2018

Move the logged in user to a React context. This will make it easier to plug the realtime notifications and to re-fetch it.

As a side benefit, SignIn / SignOut actions are now dispatched in all other tabs / windows (we subscribe to the localStorage events).

@Betree Betree force-pushed the refactor/move-loggedinuser-to-context branch 4 times, most recently from 3593613 to bda08d7 Compare December 23, 2018 15:54
@Betree Betree force-pushed the refactor/move-loggedinuser-to-context branch from bda08d7 to 77dcc90 Compare December 23, 2018 21:02
@Betree Betree merged commit c4257a7 into staging Dec 23, 2018
@Betree Betree deleted the refactor/move-loggedinuser-to-context branch December 23, 2018 22:38
@Betree Betree mentioned this pull request Jan 5, 2019
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.

None yet

1 participant