Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Why not integrate this plugin's function into Vue core? #17

Open
wonderbeyond opened this issue May 10, 2016 · 1 comment
Open

Why not integrate this plugin's function into Vue core? #17

wonderbeyond opened this issue May 10, 2016 · 1 comment

Comments

@wonderbeyond
Copy link

Maybe loading data asynchronously is more a common case. I think Vue's core should implement this function, instead of making a plugin.

e.g. We can pass data a function which returns a Promise.

@ianwalter
Copy link

I agree with @wonderbeyond. I find this note in the README misleading:

NOTE: you don't need this if you are using vue-router. Use vue-router's route.data hook instead.

What if you want to load async data on a Header component or some other component that's not tied to a route?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants