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

Ability to filter in function of the connection state #11

Open
QuentinRoy opened this issue Aug 18, 2017 · 1 comment
Open

Ability to filter in function of the connection state #11

QuentinRoy opened this issue Aug 18, 2017 · 1 comment

Comments

@QuentinRoy
Copy link
Member

Virtually every app first render function includes something of the sort with reacolo:

if (!this.props.isConnected) {
  return <LoadingView>Waiting for Ecology</LoadingView>;
}

Maybe isConnected should be included as part of the context so that it can be easily match against.

@QuentinRoy
Copy link
Member Author

If clientRole is part of the context, then isConnected should be as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant