Hacker News new | past | comments | ask | show | jobs | submit login

I think this puts it in perspective more; if I understand what you're saying correctly, then setup essentially gives you more fine-grained control over Vue's reactivity system, as opposed to just doing it all for you when a component is created. Which allows you to more easily pull out & consolidate reusable logic as needed.

It is kinda nice making reactive state really explicit like that; I like Svelte's approach for similar reasons.




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

Search: