DejaVue

VueUse and Our Favorite Composables


Listen Later

VueUse might be a library known to many Vue and Nuxt developers - and if not, it should be quickly! With over 200 functions, composables and utilities, it provides a "standard composable kit" which Alex and Michael take a look at in this DejaVue episode. And more than that, they also share their favorite composables that they use or learnt a lot from. Definitely do not miss that out and stay for the spoilers at the end.

Enjoy the episode!

Chapters

  • (00:00) - Welcome to DejaVue
  • (00:45) - An Introduction to VueUse
  • (01:59) - How often do you use VueUse?
  • (03:50) - Using a library or better to DIY?
  • (05:38) - The Reactivity Layer
  • (06:43) - Docs, Demos and Source Code
  • (09:52) - Composable 1 - useEventListener
  • (13:10) - Composable 2 and 3 - useDebounceFn & useThrottleFn
  • (17:46) - Composable 4 - useLocalStorage
  • (24:00) - Composable 5 - useMagicKeys
  • (29:04) - Util 6 - makeDestructurable
  • (33:18) - Wrapping up around VueUse
  • (34:43) - Nuxt Tips Collection
  • (35:33) - SPOILER!!!

  • Links and Resources

    • Nuxt Tips Collection from Michael
    • Mastering Nuxt*
    • VueUse
    • VueDemi
    • Slidev
    • is-even package
    • is-odd package
    • Composable 1 - useEventListener
    • Composable 2 - useDebounceFn
    • Composable 3 - useThrottleFn
    • Debounce Vs Throttle
    • Composable 4 - useLocalStorage
    • Localstorage example from Alex' Website
    • Composable 5 - useMagicKeys
    • Util 6 - makeDestructurable
    • Bonus - createReusableTemplate


    Links marked with * are affiliate links. We get a small commission when you register for the service through our link. This helps us to keep the podcast running. We only include affiliate links for services mentioned in the episode or that we use ourselves.

    ...more
    View all episodesView all episodes
    Download on the App Store

    DejaVueBy Alexander Lichter & Michael Thiessen


    More shows like DejaVue

    View all
    The Changelog: Software Development, Open Source by Changelog Media

    The Changelog: Software Development, Open Source

    288 Listeners

    Startups For the Rest of Us by Rob Walling

    Startups For the Rest of Us

    709 Listeners

    The Vergecast by The Verge

    The Vergecast

    3,713 Listeners

    The a16z Show by Andreessen Horowitz

    The a16z Show

    1,095 Listeners

    Decoder with Nilay Patel by The Verge

    Decoder with Nilay Patel

    3,137 Listeners

    Daily Tech News Show by Tom Merritt

    Daily Tech News Show

    1,396 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    624 Listeners

    Talk Python To Me by Michael Kennedy

    Talk Python To Me

    580 Listeners

    Soft Skills Engineering by Jamison Dance and Dave Smith

    Soft Skills Engineering

    289 Listeners

    The SaaS Podcast: Build, Launch & Scale Your SaaS by Omer Khan

    The SaaS Podcast: Build, Launch & Scale Your SaaS

    186 Listeners

    Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

    Syntax - Tasty Web Development Treats

    989 Listeners

    The freeCodeCamp Podcast by freeCodeCamp.org

    The freeCodeCamp Podcast

    485 Listeners

    .NET Rocks! by Carl Franklin and Richard Campbell

    .NET Rocks!

    245 Listeners

    Moonshots with Peter Diamandis by PHD Ventures

    Moonshots with Peter Diamandis

    587 Listeners

    The Pragmatic Engineer by Gergely Orosz

    The Pragmatic Engineer

    70 Listeners