2 ms·
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
by rty32 2y ago
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 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.