defineXYZ in Vue - What are Compiler Macros?!

Поделиться
HTML-код
  • Опубликовано: 6 янв 2025

Комментарии •

  • @TheAlexLichter
    @TheAlexLichter  3 дня назад

    Have you ever used custom compiler macros?

    • @VELIXYZ
      @VELIXYZ 3 дня назад

      Not really, I like everything what we have right now included

    • @ArjenHaayman
      @ArjenHaayman 3 дня назад

      of course :-) Huge fan of defineModel and destructuring defineProps

    • @lbmgary
      @lbmgary 3 дня назад

      Wonder what a fun use case would be for authoring your own for a specific project? Be interesting to see if anyone has made specific ones for a particular project domain.

  • @parsasaeednia7813
    @parsasaeednia7813 13 часов назад

    I Really enjoy videos in which i understand how a framework code works behind the scenes.
    Thanks Alexander!

  • @alimaher1
    @alimaher1 2 дня назад

    Amazing video, as always, Alexander!
    Regarding Macros, I always like to see them as a clever form of String Replacement, done by the Compiler itself!
    Also, some caveat: Note that you cannot reference an outside function, in a compiler macro!

  • @alimaher1
    @alimaher1 2 дня назад +1

    Also, I would love to have an episode regarding Error Handling on Nuxt, especially regarding useFetch composable. Since it must be always top level, what's the best practice to use it while maintain a good error handling strategy

    • @TheAlexLichter
      @TheAlexLichter  2 дня назад

      Hope that DejaVue episode helps!
      ruclips.net/video/aK6nyTn1t4s/видео.htmlsi=ToYSLDpx9wfOH13M

  • @reubenjunior512
    @reubenjunior512 3 дня назад

    Just what I was looking for 💚

  • @algolanduz
    @algolanduz 3 дня назад

    nice bro 👍

  • @виртуоз_ру
    @виртуоз_ру 3 дня назад

    👍