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

How to handle Ctx.Data #68

Closed
mathieuleclaire opened this issue Jun 9, 2016 · 1 comment
Closed

How to handle Ctx.Data #68

mathieuleclaire opened this issue Jun 9, 2016 · 1 comment

Comments

@mathieuleclaire
Copy link

Hi,
I ugraded to 0.3.1, and I am asked for providing with Ctx.Data. I did this in the right functions, but at the top of my calls (typically in the main()) I would need to pass an implementation of this Ctx.Data, and it does not seem to have one (whereas there is scala Ctx.Owner.safe() for Owner).

Thanks

@mathieuleclaire
Copy link
Author

I realize I am asked for Ctx.Data each time I use a Var() in a function without any Rx around. Using now instead of apply on Var fixes the problem, and no more Ctx.Data is required.

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