vue-async-data icon indicating copy to clipboard operation
vue-async-data copied to clipboard

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

Open wonderbeyond opened this issue 9 years ago • 1 comments

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.

wonderbeyond avatar May 10 '16 00:05 wonderbeyond

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?

ianwalter avatar Jul 26 '16 15:07 ianwalter