How to manage state in Astro applications?

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

КОМЕНТАРІ • 35

  • @Munk-tt6tz
    @Munk-tt6tz 8 місяців тому

    Very nice tutorial, clear, concise and most importantly working! Thank you!

  • @felipegutierrez2944
    @felipegutierrez2944 2 роки тому +6

    We need more of this content, its awesome!

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

    Thanks for a super helpful vid, I love Astro and you helped me add sharable state. Terrific!🐶

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

      Glad was helpful! Hopefully will figure out some more content on here!

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

    Hi, it is the best video on youtube about Nanostores. Bro, ain't you planning to make another one? There're a few of different stores i can't understand.

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

      Hey man thanks for that! Yeah I been thinking of doing more video content. Been focusing a lot on streaming as video takes a lot of time. But may do!

  • @whoisthe.l
    @whoisthe.l Рік тому +1

    Dude, i need more video like this😫

  • @toddribnek6660
    @toddribnek6660 2 роки тому +3

    astro is 🔥 right now

    • @codewithluke
      @codewithluke  2 роки тому +1

      Really loving the workflow with it. So simple!

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

    This is amazing! Great quality, and easy to follow. Thank you so much, and keep up the work. :)

  • @milanritscher4777
    @milanritscher4777 4 місяці тому

    rally good content

  • @codewithguillaume
    @codewithguillaume 2 роки тому +1

    Hello Luke, that was exactly the questions I asked myself. I'll subscribe to your channel :)

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

    Thanks so much. I appreciate you a lot.

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

    This is really good! Thanks!

  • @hiroyukinumaguchi1984
    @hiroyukinumaguchi1984 4 місяці тому

    Thank you!

  • @josemigg_
    @josemigg_ 8 місяців тому +1

    Wow! Very easy!!

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

    Hi, nice video!!!!! do you know how to share state between pages????? Thank you!

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

      I’m asking the same thing

  • @-0-__-0-
    @-0-__-0- Рік тому

    Maybe a video about Astro SPA integration? I've seen the docs but it would've been nice if there was a tutorial.

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

    Awesome

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

    Will this share state across different astro pages? Can you demo that?

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

      It depends on how the page is loaded. If it is loaded as brand new static page then it won't maintain and you would need to use localstorage.

  • @diegoulloao
    @diegoulloao 4 місяці тому

    It doesn’t work if I navigate to a different page

  • @comedyanddancevideosfunnyv4146
    @comedyanddancevideosfunnyv4146 2 роки тому +1

    Nice bro

  • @comedyanddancevideosfunnyv4146
    @comedyanddancevideosfunnyv4146 2 роки тому +1

    I want more tutorials

  • @ignrey
    @ignrey 11 місяців тому +1

    I wouldn't call this "easy" astro is really lacking state functionality. It's possible to make the same with ts or js default functions and variables but it's just makes it "complicated".

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

    can u build bet365 clone in stream ?

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

      Haha why specifically that?

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

      ​@@codewithluke What is going on in your mind ? can u do it . I want learn build real website .. honestly i am so sad of seeing crud tutorial all over the UA-cam .how can i build bet365 clone ?with these courses in udemy . I could not build that . and I am exhausted . and I comment every where .hope some one do this . If u do this like all of your videos and watch your ads untill the end .and support your channel untill I die. whish I had your brain .thanks .

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

    *When you try to use a tool in the way it wasn't made for* = your video.
    Sorry Buddy.
    I love Astro tho.

    • @codewithluke
      @codewithluke  Рік тому +4

      docs.astro.build/en/core-concepts/sharing-state/ peace

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

      Why would it not be made for it? It's exactly what I needed. I have a tabs component that's made with Vue and below that a grid with images which i made with an astro component because it has image optimization. Using this store i can share which tab is active in vue and filter which images to show below.

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

      Lol