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

Don't start the countdown until you've fetched a user #6

Open
oliverjam opened this issue Jan 24, 2018 · 0 comments
Open

Don't start the countdown until you've fetched a user #6

oliverjam opened this issue Jan 24, 2018 · 0 comments

Comments

@oliverjam
Copy link

It's a bit strange to start losing experience before I've even chosen my user 😉

In order to share the state between the two child components you may want to look into the concept of "lifting state up". I talked about the general concept in this issue

There's an article in the React docs about this https://reactjs.org/docs/lifting-state-up.html

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

No branches or pull requests

1 participant