Script Setup RFC for Vue 3.0.3 @LachlanMiller
Script Setup RFC for Vue 3.0.3  @LachlanMiller
Uploaded December 2020 | Updated November 2026, 3 hours ago
I try out and share my thoughts on the new script setup RFC as for Vue 3.0.3. Link to RFC: github.com/vuejs/rfcs/pull/227


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: github.com/Jinjiang/rfcs/blob/master/active-rfcs/0000-expose-api.md


📗 $5 off my Design Patterns for Vue.js with YT_5_OFF: lachlan-miller.me/design-patterns-for-vuejs
🔨 Course on Composition API, TypeScript and Testing: udemy.com/course/vuejs-3-the-composition-api/?referralCode=0C911BD2BD6C57007F36
🎥 Complete Vue.js (Options/Composition, Vuex, Router): udemy.com/course/complete-vuejs-3-crash-course-composition-api-vue-router-vuex/?referralCode=765A6E679914BF6E60AF
Script Setup RFC for Vue 3.0.3
Lachlan Miller |

Script Setup RFC for Vue 3.0.3

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER