If you can point to one specific thing you are most interested in, or happy to check out, from vue 3, what would it be? And what's the closest another framework (or vanilla js) has to said feature?
The new Composition API for components is a simpler, more imperative, low-level way of defining components compared to the older Options API that required exporting an object with fields like 'data', 'computed', or 'watch'.
I personally prefer the older API since its more declarative, but I can see how the new API can help to keep reactivity logic in a single function, rather than across computed properties, watchers, etc. (not to mention the annoyance of having to remember what type each property should export -- function returning object? raw object? object with function fields?).
For me, it would be the Composition API. I think it will clean a lot of code I have. I'm not too familiar with other competitive frameworks unfortunately. I chose VueJS for my personal projects because it felt easier to learn.
mayank|5 years ago
I personally prefer the older API since its more declarative, but I can see how the new API can help to keep reactivity logic in a single function, rather than across computed properties, watchers, etc. (not to mention the annoyance of having to remember what type each property should export -- function returning object? raw object? object with function fields?).
kords|5 years ago