-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Facet error when using a cursor to change rendered component #211
Comments
Hello @cassiozen, I'll investigate this issue asap. In the meantime, could you show me what your app's state looks like, please? |
Sure:
|
Ok @cassiozen, I traced the bug (a very nasty one I must say) and it seems the event emitter is the culprit here. I need to investigate some things and hopefully fix this. |
Well it seems that I therefore need to add a |
Ok, tested this just now. This should be fixed as per last commit. |
Nice! this was affecting me too. |
I Have a component that conditionally renders
<Login />
or<Ok />
depending on a value on a Baobab tree:But as soon as the tree is updated and an user object is set, I get an "Cannot convert undefinded or null to object", on facet.js.
On facet.js, if I add a check before self.cursors everything works, but this is obviously not a permanent solution:
The text was updated successfully, but these errors were encountered: