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

Can't use subscriptions as an object. #110

Open
Morgul opened this issue Jul 6, 2019 · 2 comments
Open

Can't use subscriptions as an object. #110

Morgul opened this issue Jul 6, 2019 · 2 comments

Comments

@Morgul
Copy link

Morgul commented Jul 6, 2019

Ever since v6.1.0, you have not been able to use subscriptions as an object, as specified in the documentation.

Doing so produces this warning:

[Vue warn]: The "data" option should be a function that returns a per-instance value in component definitions.

A warning would be one thing, but the subscriptions don't actually work (they never get built). Converting it to a function fixes it. While I personally use it as an object a lot, the fact that a minor upgrade breaks every app I use vue-rx on is the most frustrating part of this bug.

@regou
Copy link
Collaborator

regou commented Jul 6, 2019

#95

@gotenxds
Copy link

gotenxds commented Nov 2, 2019

Still happens in the current version, any input on this ?

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

3 participants