-
Notifications
You must be signed in to change notification settings - Fork 459
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
PubSub does not work under Context API #195
Comments
What is "Context API"? |
Context API is a built-in library from ReactJS that makes possible to share an object/variables, in a form of contexts, directly to other components from the components tree. The oficial docs: https://reactjs.org/docs/context.html |
Would it be possible for you to create a reduced example that shows how this is working without Context and how it's not working WITH Context? Perhaps then some React experts might see this and be able to help with this. I don't work with React. |
Yes, I will post here a simpler example. Thank you @mroderick for your help. |
The comm between components stoped after added React's Context API to the project, which provides contexts to the parent nodes of those components that use PubSub.
The text was updated successfully, but these errors were encountered: