🚀 Mastering API Calls in React with Custom Axios Hooks

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

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

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

    This was informative, gives you a general behind the scenes look of what React Query, or RTK Query could be doing. Thanks!

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

    very informative, but u could show the browser in the sidewindow so we can see how each code section executes

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

    How can we include toast message for success and error? When refetching the same endpoint, the old error message is still there in state right?

  • @JoyEden-b9i
    @JoyEden-b9i 7 месяцев назад

    This was very educative. Please where did you get the boiler plate code you used in App.js?

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

    setError(null) in the try block, to reset error to null.

  • @firdausspensix
    @firdausspensix 6 месяцев назад

    thankyou so much for sharing

  • @harish9985
    @harish9985 6 месяцев назад

    how to handle more than one api call at a time if we have response in common last fetched is updated for all

  • @keshavagrawal89
    @keshavagrawal89 9 месяцев назад

    May i know which vs code theme this is?

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

    How u ll manage the state when it takes time in setting response in state

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

      You need to show loading state.

  • @Terminal-Coder
    @Terminal-Coder 11 месяцев назад

    Amazing bro , but what about header if we have pass headers?

    • @MaxWilliam
      @MaxWilliam 9 месяцев назад

      You can use the interceptors for that.