Local First from Scratch - How to make a web app with local data

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

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

  • @MateoClarke
    @MateoClarke Месяц назад +2

    I very much look forward to the follow-up videos showing how to sync to a cloud DB. I was able to translate the Svetle to React pretty easily so I wouldn't sweat to much reproducing this for other frameworks. Just calling out when things are different was helpful.

    • @syntaxfm
      @syntaxfm  Месяц назад +2

      Working on getting the first of those out this week. Just finalizing

  • @Kevin-hk4fv
    @Kevin-hk4fv Месяц назад +3

    Can't wait for more videos!!
    PS: please keep with svelte :D

  • @ragnsanfinnvalla1717
    @ragnsanfinnvalla1717 25 дней назад +1

    You are a fantastic teacher! Great video

  • @michaelpotter9006
    @michaelpotter9006 Месяц назад +1

    Excellent video! Love your concentration on local-first code. It's always a wonderful revelation when I realize again how much I don't know.

  • @DannniScript
    @DannniScript Месяц назад +20

    letss goo svelte gang

  • @anupamchakrawarti1803
    @anupamchakrawarti1803 Месяц назад

    This is amazing.
    You are breath-taking Scott!

  • @LarryWEitel
    @LarryWEitel Месяц назад

    Spectacular! Amazing! Well presented! Thank you! 🎉

  • @oabdulazeez
    @oabdulazeez Месяц назад +3

    Svelte looks great!
    Woow... I'm missing something

  • @Learnwithjoseph
    @Learnwithjoseph Месяц назад +2

    learned something today about svelte how about adding auth to the app so the that people can a have different way invoice based on login user and organization will love to see that two

  • @flwi
    @flwi Месяц назад

    That's it?? I thought getting an app to run offline was more complicated. Thanks for this great tutorial!

    • @syntaxfm
      @syntaxfm  Месяц назад

      Glad it was helpful 🫡

  • @abdellahcodes
    @abdellahcodes Месяц назад

    Great to see some more Levelup Tuts!

  • @AvanaVana
    @AvanaVana 9 дней назад

    3:43 since npm v5, 4 years ago, you don’t need to type -save…

  • @MishaMoroshko
    @MishaMoroshko Месяц назад

    Thanks Scott for doing these! Looking forward to the Replicache one, hopefully using React ;)

  • @mitchrivet
    @mitchrivet 23 дня назад

    Any reason not to use the lib folder for the db files?

    • @syntaxfm
      @syntaxfm  23 дня назад +1

      I typically use the lib folder mostly for components but it doesn’t matter really.

  • @mohmednabil
    @mohmednabil Месяц назад

    what is the command line app in the beginning?

  • @xcrap
    @xcrap Месяц назад

    Ah the framework dependency, hard to find just pure code examples without depending on frameworks now-a-days, fuf.

    • @omomer3506
      @omomer3506 Месяц назад +1

      He says you don’t need to use svelte, its helpful instead of setting up routes and all of that, but you can go html css and js and it would still be just as fine

  • @adetunjiojekunle1502
    @adetunjiojekunle1502 Месяц назад

    Thank you so much for this.
    Man, I have been waiting for a follow up on this, using replica etc.
    When do you think this will be available?

    • @syntaxfm
      @syntaxfm  Месяц назад +2

      Very very soon. First video will just be Replicache without server syncing. I'm also working on a video on how to do local syncing with Pocketbase too.

    • @miguelpinto6567
      @miguelpinto6567 9 дней назад

      @@syntaxfm looking forward for the pocketbase one!

  • @Danielo515
    @Danielo515 Месяц назад

    Svelte automatic proxies are so absurd...

    • @syntaxfm
      @syntaxfm  Месяц назад

      What don’t you like about them?

    • @Danielo515
      @Danielo515 Месяц назад

      ​@@syntaxfm They are supposed to simplif the life for state management because redux and friends are "too hard". They feel like magic, but they are the worst kind of magic, the one you need to be aware of. Proxies are incompatible with almost any third party thing (sending data to backend, storing on a DB and basically anything that needs to be serialized) and because they convert anything in any deep into proxies, and there is nothing in the type system about it, you will very easily turn something into a proxy without noticing until you get a runtime error because something tried to "store a portion of your state" 5 components deep. Redux, at least is all objects

  • @Svish_
    @Svish_ Месяц назад

    Sounds like a terrible experience to make any kind of web app using Scratch 🥴

    • @syntaxfm
      @syntaxfm  Месяц назад

      Not "with" scratch.

    • @Svish_
      @Svish_ Месяц назад

      @@syntaxfm I know, sorry, couldn't resist 😛