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

Feat: Context Provider and Object #101

Closed
alamorre opened this issue Dec 11, 2021 · 1 comment · Fixed by #114
Closed

Feat: Context Provider and Object #101

alamorre opened this issue Dec 11, 2021 · 1 comment · Fixed by #114
Assignees

Comments

@alamorre
Copy link
Contributor

No description provided.

@alamorre alamorre self-assigned this Dec 11, 2021
@alamorre
Copy link
Contributor Author

Here is the current plan, feed the Hooks into a context provider for people to import and Use.

  • onConnect can pass the Username, Secret and Project ID into the hooks for setting up.
  • Then is exports state which can be passed into Socket or Components with the prop names lining up perfectly

@alamorre alamorre linked a pull request Dec 16, 2021 that will close this issue
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 a pull request may close this issue.

1 participant