Renderless Component & Type Safety (Advent of Vue #17) @LachlanMiller
Renderless Component & Type Safety (Advent of Vue #17)  @LachlanMiller
Uploaded December 2022 | Updated September 2026, 1 week ago
My solution to the 17th and final Advent of Vue challenge! Good one to end on - renderless components are a great example of separation of concerns. We also talk about pushing logic out of a component into a stateless function.

I also talk about renderless components in my book: lachlan-miller.me/design-patterns-for-vuejs

👉 Link to algorithm movable-type.co.uk/scripts/latlong.html
👉 Haversine formula en.wikipedia.org/wiki/Haversine_formula

🎄 Advent of Vue: adventofvue.com
💻 Code: github.com/lmiller1990/aov2022/tree/renderless

🐦 Keep up with me on Twitter! twitter.com/Lachlan19900

If you like my teaching style, I have a book and two courses!
👀 (Book) Design Patterns for Vue.js: lachlan-miller.me/design-patterns-for-vuejs (YT_5_OFF for $5 off)
👉 (Course) Vue.js: The Composition API: udemy.com/course/vuejs-3-the-composition-api/?referralCode=0C911BD2BD6C57007F36
🖖 (Course) Complete Vue.js 3: udemy.com/course/complete-vuejs-3-crash-course-composition-api-vue-router-vuex/?referralCode=765A6E679914BF6E60AF
Renderless Component & Type Safety (Advent of Vue #17)Extending and Improving the Renderer [Vue 3 Custom Renderers 7/7]Firing Events and `waitFor` - [Vue Testing Library 4/8][Functional Core, Imperative Shell]  Functional Core, Imperative React?! (8/8)[Testable Forms] 1.2 Concise Tests with test.eachAvoiding Stale Rendering - [Render Functions 7/7][Vue.js 3 Crash Course] 1.10:  Your First ComponentThe Missing v-switch ComponentRefactoring an App 2/2: Working Towards Immutability[Testable Forms] 1.8 Inputs, v-model and the number modifierPublishing a Vue.js 3 Component on npm[Testing Vue 3 apps] 1.10 - Mocking Vue Router with global.mocks
Lachlan Miller |

Renderless Component & Type Safety (Advent of Vue #17)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER