Teleports and When to Use Them
Listen now
Description
Welcome to the fourth episode of DejaVue! From a Nuxt topic last week, Michael and Alex jump into a plain Vue.js topic again, or would you say... teleport?Yes, correct! The Teleports feature from Vue 3 will be explored - from its use cases to the native HTML dialog tag. The two hosts also cover how Teleports were created, even back in Vue 2, and talk about a Nuxt implementation too. Learn more about Teleports in this episode of DejaVue! Post-podcast note: The Popover API is now available in all major browsers! Chapters (00:00) - Intro (00:35) - What are Teleports? (01:35) - The typical Teleport use case (03:23) - Other use cases for Teleports (1) (06:45) - Async Components and Suspense (1) (07:48) - Pitfalls with Teleports (09:15) - The native dialog components (12:14) - Building an own modal / dialog (13:25) - How you did it before Teleports (14:33) - What Teleports don't solve (15:13) - Other use cases for Teleports (2) (16:46) - Teleport targets / Where to teleport (17:49) - Vue 2 Teleports (19:04) - Teleports and SSR (25:13) - Creating Reproductions and Open Source (29:28) - Outro Links and Resources Teleports Vue.js DocsHeadless UIThe Dialog ElementPopovers (Now available)Portal Vue package (needed in Vue 2)Evan You on SSR Teleports#teleports in NuxtSuspense + Teleports Issue
More Episodes
Vue.js can be used in many different ways - with a meta framework, as a plain SPA, via the script tag and also with Inertia! Created in the Laravel ecosystem with adapters for various back- end front-end frameworks, Alex and Michael got a special guest on the episode who couldn't fit better to...
Published 10/10/24
Published 10/10/24
Vue is fast (actually the fastest SSR framework)! But sometimes apps might a bit more fine-tuning. And by sometimes, we mean rarely. Still, it can happen - so join Alex and Michael in this DejaVue episode to dive into what tools Vue gives us to improve the frameworks' performance.  Further, they...
Published 10/03/24