News for hackers. Stuff that matters.
Re:Vue 3.5 – The Vue Point by dgwight on Wednesday September 04, 2024 @02:19AM (#41442453)
Me too. The options api enforced grouping and you could lint the ordering of the lifecycle methods, methods, computed, data etc. Thjs made it very easy to know where to find something inside a component
Re:Vue 3.5 – The Vue Point by conradfr on Wednesday September 04, 2024 @03:35AM (#41442888)
That's why I still use it, it's so quick to find things when you open a component.

The tutorial and reasoning about the composition api make sense ... but I never feel I need it in my own apps.

Re:Vue 3.5 – The Vue Point by rty32 on Wednesday September 04, 2024 @07:49AM (#41444567)
Grouping is good until you have a UI component that needs to do 3 different things. It will be a mess because everything is mixed together. See official example: https://vuejs.org/guide/extras/composition-api-faq.html . This has been tremendously useful for developing large components.

If you haven't found a need for this, great for you. Options APIs will also continue to be available for the foreseeable future. But that doesn't mean it is better in any way.