Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It actually not very different in its core(except the transition to Proxy). In fact, you can already do that on vue 2, just you are unlikely to.

Put method in data or prop? It actually works, but why would you do that when there is a field called `methods`?

The setup method seems like a slightly enhanced data() that allow you to place things in a more free way.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: