Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Better mobx-vue develop experience #16

Open
nighca opened this issue Dec 5, 2017 · 0 comments
Open

Better mobx-vue develop experience #16

nighca opened this issue Dec 5, 2017 · 0 comments
Labels

Comments

@nighca
Copy link
Owner

nighca commented Dec 5, 2017

Perhaps we can offer better vue-mobx develop experience by hijack render method of vue component.

Then we can access observable value from MobX store directly in vue components' render method (or template).

It is somewhat like the way mobx-react does. It may not be suitable for vue, as vue provides its own observable mechanism and consume data in more ways (such as computed, watch, ...) other than render method.

But it is worth a try.

@nighca nighca added the todo label Dec 5, 2017
@nighca nighca changed the title better support for vue component's render Better mobx-vue develop experience Dec 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant