Proven Pinia Patterns - VueConf US 2023

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 16

  • @st3nsvk
    @st3nsvk Рік тому +10

    I don't see any patterns in the course. It's just like going trough total basics from docs.

    • @heruhailiuhuang533
      @heruhailiuhuang533 Рік тому +3

      Yes no more new insights. More advertising but it is ok for new pinia developer

    • @oemeraran8183
      @oemeraran8183 Рік тому +8

      I really find it hard to find good advanced patterns for vue 3 in general.. every tutorial or talk just scratches the surface and basically summarizes the docs.. how about solving some more complex problems by example...? All the content is made for complete beginners, which really annoys me lately.

    • @em9999999
      @em9999999 Рік тому +1

      @oemeraran8183 You'll find that Nuxt 3 solves most of those questions you might have automatically

  • @glatocha
    @glatocha Рік тому +1

    Good talk, what software was used for the presentation? I like the animations a lot

  • @ryans4584
    @ryans4584 10 місяців тому

    That @posva approved checkmark is ace 😀

  • @kimballle7714
    @kimballle7714 Рік тому

    nice! seems straight forward.

  • @jlovas
    @jlovas 6 місяців тому

    Why don't you use the return block to create getters, actions and watchers in setup mode? Then you wouldn't have to list them separately.

  • @balmberg
    @balmberg Рік тому

    The presented store.js example (4:15) does not work. I'm having only a small use case where Pinia is overkill.

    • @sandorturbucz425
      @sandorturbucz425 8 місяців тому

      For a small use case just use composables, and/or provide/inject. Some say even for big use cases you only need composables, you can actually use it just like pinia aka a global state store.

  • @kenjohnsiosan9707
    @kenjohnsiosan9707 Рік тому

    thanks for sharing

  • @alibahrami6810
    @alibahrami6810 Рік тому

    very very sweat talk 🍍

  • @chil1181
    @chil1181 Рік тому

    How do I create a local store?

  • @DontFollowZim
    @DontFollowZim Рік тому +3

    At 20:37, shouldn't that be userFavorites.value.push...?

    • @bergerblancsuisse.
      @bergerblancsuisse. Рік тому +4

      No because userFavorites would have been initialised as shallowReactive([])