Building Backwards Compatible Vue Libraries - Vue.js Live 2023

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • Jessica Sachs presented this talk at Vue.js Live 2023 in London: "Many organizations with component libraries are working on upgrades for their Vue 2 apps so that they can support Vue 3. Sometimes it's not easy! Ideally, you could write your code once and cross-compile it for different Vue runtimes. In this talk, we'll do exactly that. At the end, you'll have a recipe for shipping libraries that support both Vue 2 and Vue 3."
    Ready to master Vue.js? With weekly Vue js tutorials on the latest topics, and exclusive content with Evan You (the creator of Vue), Vue Mastery is the ultimate learning resource for Vue developers to level-up their skills. Watch more free Vuejs tutorials 👉 www.vuemastery.com/courses
    0:00 Intro
    6:48 Design Goals
    7:15 "Petite"
    8:30 Make a monorepo
    8:47 Symlink the src directory
    9:42 Reusing build and test tooling
    11:58 Demo
    21:09 Deploying your packages
    21:48 Closing notes
  • Věda a technologie

Komentáře • 2

  • @ShinigamiZone
    @ShinigamiZone Před 8 měsíci

    Yeah, the one in the audience was right
    In line 9 you had declared default modelValue to 0
    Then in the computed you had `modelValue ?? ...`, so that the `...` was dead code
    You could also had used `||` if I'm not wrong

  • @user-rq9uz1jg5z
    @user-rq9uz1jg5z Před 8 měsíci

    5:48 omg I would have a mental breakdown