SWR/React-Query vs Fetch + UseEffect

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

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

  • @codinginflow
    @codinginflow  11 месяцев назад +1

    Get my FREE React Best Practices course: codinginflow.com/reactbestpractices

  • @trantoan6985
    @trantoan6985 Год назад +4

    Please do a tutorial of the project that you are using in this video.

    • @codinginflow
      @codinginflow  Год назад +3

      That's the project we're building in my paid NextJS course. You can find the code on Github: github.com/codinginflow/nextjs-express-typescript-course

  • @isaacjon
    @isaacjon 11 месяцев назад

    Thanks

  • @rakysreplays8259
    @rakysreplays8259 2 месяца назад

    And what about RTK Query?

  • @grenadier1653
    @grenadier1653 Год назад

    I dont see any issue with requesting when your server is fast
    Also what I dont like about these caching libs is that it shows cached result, then makes a request, if there's new data, it updates it right away and thus your content just jumps

    • @codinginflow
      @codinginflow  Год назад

      It avoids a bunch of other problems tho, like race conditions

  • @ban_droid
    @ban_droid Год назад +1

    could you make tutorial on doing caching but without any of these libraries? cause i'm learning using this library, but still dont get how to cache a data myself, i cant find any right tutorial on caching without third-party library

    • @codinginflow
      @codinginflow  Год назад +4

      I don't think it's necessary to learn that because you're just reinventing the weel

  • @rohithgoud30
    @rohithgoud30 Год назад

    dude how do you do android and react same time. Bcz many times due to muscle memory I write javascript syntax instead of kotlin yes I identify and fix that immediately but how to get rid of this 🤣

    • @codinginflow
      @codinginflow  Год назад

      I don't do any Android development anymore. But when I did, my biggest problem was the different hotkeys between VSCode and IntelliJ 😆