I try out and share my thoughts on the new script setup RFC as for Vue 3.0.3. Link to RFC: https://github.com/vuejs/rfcs/blob/script-setup-2/active-rfcs/0000-script-setup.md
Note: I mentioned components are now “closed by default”. I forgot to mention another RFC proposing a “expose” function to selectively make values available via a template ref. I have not had a use case for this, though. Expose RFC: https://github.com/Jinjiang/rfcs/blob/master/active-rfcs/0000-expose-api.md
#vue #javascript #web-development #programming #developer