I Never Want To Fetch Data Any Other Way

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • Data fetching in React is not easy. Especially because React couldn't care less how you get your data in the first place. Out of all options, I think there is a clear winner for React data fetching. Let's investigate different approaches of data fetching and which one might be the most convenient for you!
    My GitHub: github.com/jos...
    Discord: / discord

Komentáře • 168

  • @joseandkris
    @joseandkris Před rokem +57

    I profesionally use react query for fetching, it really makes sense. But privately, I have no problem with using fetch and creating my local cache and maintaining it (atm with context, but anything goes really). There's special fun in using something native 🎉

    • @joshtriedcoding
      @joshtriedcoding  Před rokem +6

      Interesting point, there's a certain level of technical know-how involved in managing the cache that beginners might not have. Good for you man, feel like the native fetch is also encouraged specifically with Next 13 where their caching behavior is built into the native fetch API

    • @jaymartinez311
      @jaymartinez311 Před rokem

      I also think there is nothing wrong with fetch. It depends on the project and if they want to use more native stuff. Code reviews also help a lot. Idk. just my opinion 😅

    • @joshtriedcoding
      @joshtriedcoding  Před rokem +8

      @@jaymartinez311 There is nothing wrong or right about anything in code really. Just depends on which trade-offs you choose - often its time for money, sometimes it's control over time spent developing a certain feature. I believe offloading that control to a data fetching library is a worthwhile tradeoff for your time, if you prefer keeping all the control and are willing to invest more time, fetch is awesome as well

    • @jimshtepa5423
      @jimshtepa5423 Před rokem

      can you please suggest learning materials on imlementing caching?

    • @jordan59961
      @jordan59961 Před 8 měsíci

      @@joshtriedcodingwell said.

  • @hynekss8618
    @hynekss8618 Před rokem +19

    2:50 Fun fact: while axios can indeed be considered an abstraction of a generic "fetch request", it is not an abstraction of the fetch API; it is still actually using much older XMLHttpRequest API under the hood.

    • @UFO_808
      @UFO_808 Před 6 měsíci +2

      Is that good or bad?

    • @hynekss8618
      @hynekss8618 Před 6 měsíci

      I wouldn't say neither good nor bad. In theory, Axios has better backward compatibility. However, it is 2024 now. Only very few devices are probably still around that won't support `fetch`, so it doesn't matter.
      And however old the XMLHttpRequest api is, JavaScript has always been backwards compatible, so there is very little chance that XMLHttpRequest will cease to be supported in the future. @@UFO_808

  • @codinginflow
    @codinginflow Před rokem +14

    One important feature these fetching libraries (React-query, SWR) bring is race condition prevention. It's actually quite easy to create a race condition if you fetch data inside a useEffect and don't provide a cleanup function. The React docs have some examples on this.

    • @mrpx77
      @mrpx77 Před rokem +1

      This is the best thing for using React Query, imo.

  • @nicolas_vl
    @nicolas_vl Před rokem +15

    So, everybody, please use libraries for everything! The "Do not re-invent the wheel" that everyones is repeating, is a bad thing. A developer needs to "re-invent" the wheel, to see how things work under the hood, in the process to learn new thing and design patterns and implementations, sharpen his way of thinking and more. At the end of the day if his solution is worse, use the library, but the knowledge you have gained in the process, is immeasurable. Experiment on your own, do make mistakes and learn ( nobody's gonna kill you ). As for the React Query, you can use your own abstraction around Fetch API ( as many people mentioned ) as a hook which is fairly easy ( getting errors, data, loading state, even caching some queries with a provider ). As for query parameters, you can extend your hook, observing the URL changes, extracting the query parameters and making a new URL from it, or even passing dependencies from which the query should be triggered again. Let's don't make all native Javascript APIs, sound bad. Now for the old good friend XMLHttpRequest, it provides functions that Fetch API doesn't. If you don't use any type of sockets how you're gonna know the upload progress of a file with Fetch? You may use streams (ReadableStream) but not that wide support and adds too much complexity. So yes, I have an XMLHttpRequest hook for uploading a file ( when uploading progress is necessary ). Point is, do write your own code to become better and experiment. If you're using libraries, do make the effort and read the code and understand how they work. Don't just blindly use libraries with their syntax sugar without knowing how they work. Cheers. (npm install everything-there-is)

  • @miguelowd
    @miguelowd Před rokem +18

    Hey Josh, keep up the great content. You give programming videos a nice twist!

  • @beepdotboop
    @beepdotboop Před rokem +13

    Great video. I am a huge RQ fan girl. One thing though, make sure to put the queryClient outside of the App component so it doesn't rerender if for some reason App rerenders

  • @akporraphael9069
    @akporraphael9069 Před 7 měsíci +1

    I still use fetch API. It works well for me. React query is just syntactic sugar for already existing fetch API, same thing woth Axios.

  • @granporculio
    @granporculio Před rokem +22

    Using Fetch is not bad, you just need yo abstract the logic so there's no spaghetti, you just need to be organized with your code and apply good practices, then you'll learn how to do things properly

  • @YuqingChan
    @YuqingChan Před rokem +4

    i was doing my project for a database class and i thought i was doing it all wrong since my fetch file looked like trash (even though it still works meh). thanks for this video haha. made me feel a bit better

  • @sunny7268
    @sunny7268 Před rokem +4

    I may be late, but I think you can add hooks from common hooks libs like useAsync from react-use. You have valid status data, on the other head I think React query is much better because of the state separation and state management, which is a game changer from my perspective, and now you can use lightweight libs like Jotai and Zustand for your's front state.

  • @jason_v12345
    @jason_v12345 Před rokem +17

    It's definitely nicer, but in an application of any real size, you're going to define your own abstraction around fetch (or axios) anyway, so you're only going to use React Query once, if your own abstraction doesn't implement a similar API all on its own.

    • @zb4238
      @zb4238 Před rokem +1

      You don't need to define any abstraction around axios/fetch manually tanstack-query has it all sorted for you. You will need to dig into docs first before making conclusions.
      The kind of approach you propose is the exact nightmare in real projects. Let me guess if you work on 10 projects all 10 will have their own abstractions, right? Besides the actual fetching tanstack-query also handles state management, parallel querying, and literally a ton of other things you with your abstraction layer will never come even remotely close.

    • @MARKOTHEDEV
      @MARKOTHEDEV Před rokem +5

      You obviously don’t know how the stack works 😂 sorry mate

    • @parlor3115
      @parlor3115 Před rokem

      @@MARKOTHEDEV The way you're putting it and what is shown in the video don't add up so something has to give.

    • @parlor3115
      @parlor3115 Před rokem

      @@zb4238 What does handling state management even mean?

  • @Shyxi59
    @Shyxi59 Před rokem +8

    Love your content !
    What about useSWR ? Could you compare those two in a future video maybe ? Thanks for your hard work man

  • @gosnooky
    @gosnooky Před rokem +9

    The issue isn't spaghetti code, it's just abstraction - you still need to use Axios in that query function, so it's not really helping. Any moderately skilled dev can take fetch or axios and write their own abstraction that does the exact same as this ridiculous library. It's a problem with React/Vue developers, they don't bother writing their own abstractions over lower order APIs like fetch, they just add a bloated library that still has to be imported and bundled. Just write your own code, people.... it's not that hard.

    • @lpanebr
      @lpanebr Před rokem +3

      I was looking for this comment. I'm a crappy programmer but it gives me the creeps everytime I see people recommending npm install anything. This should be used as a last resource in my opinion, or you'll put yourself in dependency hell or worst, using libraries like isEven! 😂😂😂

    • @aseel5178
      @aseel5178 Před 6 měsíci

      Could you suggest some references?

  • @yousafwazir3167
    @yousafwazir3167 Před rokem +3

    Keep up the good content, show use more library’s like this, why don’t you do a tier list of sorts for library’s you use

  • @mma93067
    @mma93067 Před rokem +3

    I’m more on team RTKQuery.
    It’s built on top of redux and comes with automatic caching. It’s also pretty easy to update global state everytime a query rerun with middleware!
    The best part is, results of one request can be used to invalidate results of other requests and rerun them if needed. I avoid a lot of logic with just that
    You should definitely give it a try

    • @saralightbourne
      @saralightbourne Před rokem

      i honestly don't understand the point of using redux. could you tell me (not an offensive question, i'm just a beginner)

    • @mma93067
      @mma93067 Před rokem +4

      @@saralightbourne redux is state management tool. So it maintains information about session; this can be anything that is shared across multiple pages and not limited to a subtree of components.
      Redux is usually overkill on hobby projects. That said, since RTKQuery uses redux’s tools without us having to use redux itself, it hits the perfect sweet spot

    • @vichitra-yt
      @vichitra-yt Před rokem

      @@saralightbourne Same true.

  • @user-jb6rv4nz6h
    @user-jb6rv4nz6h Před rokem +1

    As always, very enjoyable content. I've subscribed josh when he has like 8k subs and will be one of the veteran subs when he hits 100k mark :). Keep going dude

  • @landerzmcfuzzy
    @landerzmcfuzzy Před rokem +2

    Appreciate the vid.
    Not the most balanced take though...
    Fetch is runtime-provided so there's no need to add to your bundle size which is a plus. Also react query can be overkill for certain projects. It also defaults to being incredibly chatty with the backend which could be considered a minus to the API/syntax aspect. Additionally composing queries quickly turns into what you might refer to as spaghetti code.

    • @k4f
      @k4f Před rokem +1

      Yeah and he complained about spaghetti code, and ends up writing even more confusing spaghetti lol

  • @atifulislamasif7893
    @atifulislamasif7893 Před rokem +1

    Awesome and on to the point video as always!

  • @dkshadow709
    @dkshadow709 Před rokem +4

    Hey Josh, Been loving all your videos! I was wondering if you will have any testing videos in the future. One thing I struggle with a lot is testing, espically stuff like React Query.

  • @helamaewerton6860
    @helamaewerton6860 Před rokem

    Dude, what a great add and feature. I Didn't know react query was that powerful though

  • @ateyob
    @ateyob Před rokem +2

    Thank you Josh!! .. you’re the best!!!

  • @ramanavijay78
    @ramanavijay78 Před rokem +3

    I am gonna use react query on my next project 😊

  • @lukasmacku2423
    @lukasmacku2423 Před rokem

    Thank you so much for this video. I needed to know the benefits of tankstack query. I am a self-taught fs dev and smt it is hard to find the best and simple way to do something like fetching data. Thanks :)

  • @starmorph
    @starmorph Před rokem

    one my new fav channels, subbed

  • @jaroslavhuss7813
    @jaroslavhuss7813 Před rokem +1

    Well I am using a wrapper around fetch. So at the end I have a function like - fetchApi(url:string, method: "post"|"get" etc, parser: "json"|"text"). And this function is being used all over my project. I am not sure how bad this approach is but works for me fine, since that function has a lot of logic to catch any bad stuff...

    • @blackpurple9163
      @blackpurple9163 Před rokem +1

      I'm no expert but if you've taken care of all the possible errors, then it doesn't need to be super readable, if it takes a little effort to understand the code, that's fine, not everything needs to be super easy to understand

    • @joshtriedcoding
      @joshtriedcoding  Před rokem

      Any specific reason you chose this approach?

    • @jaroslavhuss7813
      @jaroslavhuss7813 Před rokem +1

      @@joshtriedcoding Well I had something like this ```export const fetchAPI = async (url:string, method:FetchMethods, data?:object):Promise =>{
      //Look for a token
      let dataResponse:any = undefined;
      try {
      const token: string | null = localStorage.getItem("token");
      const response:Response = await fetch(GLOBAL_URL+url,{
      method,
      headers: {
      "Content-type": "application/json",
      Authorization: `Bearer ${token}`,
      },
      body:JSON.stringify(data)
      })
      if(response.status === 401){
      //go to login page
      window.location.href = "/login"
      }
      //Get the object based on the interface or get the Error
      dataResponse = await response.json();
      } catch (error) {
      console.log(error)
      }
      /**
      * Logic for the refresh token
      */
      return dataResponse
      }``` -> basically was just calling one little funciton that contained token, did some basic error handling and so on. But I am sure the react query is way way better approach. I just have to look at that a bit more and maybe I will have to wrap it also with additional logic.

    • @ng4logic
      @ng4logic Před rokem +1

      @@joshtriedcoding I have OAuth2.0 api so I need to renew my tokens if access token is expired. So I wrapped call in function to fetch new tokens and then refetch to get actual data. So if my app state says I am logged in but my server says I am not, it means my token got expired and I need to refetch new tokens and refetch first request with new valid tokens

  • @vichitra-yt
    @vichitra-yt Před rokem +1

    I wish you used a real-example to shacase this. Maybe a weather update, it would have been much clearer.
    BTW Great Video..On my way to try it..✌🏻

  • @mengfandy7365
    @mengfandy7365 Před rokem

    josh i love you youtube channel, feel like home.

  • @manishcoding5383
    @manishcoding5383 Před rokem +1

    There is this new package called Ky. It does seem to do everything that axios does except at a much lower cost.

  • @BuhuuRecords
    @BuhuuRecords Před rokem +2

    Hey Josh, could you tell what extension you use when creating snippets like you do when importing fc and creating such a module quickly?

  • @ammarhaidar5995
    @ammarhaidar5995 Před rokem

    Well explained, nice job, watching you from Syria, and hope to see a camparison between useSWR and useQuery

  • @mmzzzmeemee
    @mmzzzmeemee Před rokem +3

    great content, exactly what i needed.
    Isn't it better to use fetch tho instead of axios (inside of react query) in Next? I've read something like vercel did some optimizations on fetch.
    I made my own version of fetch so that it behaves a bit more like axios because of this optimization thing (idk what exactly they optimized tho lol)

    • @stxnw
      @stxnw Před rokem

      THIS

    • @speedster784
      @speedster784 Před rokem

      They added the ability to revalidate after a period of time and u now can choose to cache data or not

  • @ramanavijay78
    @ramanavijay78 Před rokem +2

    Can we use vanilla fetch method in the queryFn property instead of axios? Does it works the same?

  • @anomalydnb2
    @anomalydnb2 Před 6 měsíci

    You don't really need a library for that. Why not write just a simple hook with all of the query functionality and return those parameters like (loading, loaded, error, items, etc.)? And you don't need the context, because in this case you need a HOC. Anyway for some users it could be convenient, but all I see just another dependecy and another documentation to dig into if you need some custom functionality. Thanks for the video! :)

  • @grzesieksgs
    @grzesieksgs Před rokem

    I find Your message a bit confusing. You still need fetch or axios (or something else) when using react-query.
    Right now, in the project that I'm working on, I'm using axios to get data for react-query, but I'm actually considering to get rid of axios, as I don't see much value in it while combined with react-query. Syntax of fetching function can be improved with simple utility around fetch, and other features of axios are mostly covered by react-query.

  • @kakun7238
    @kakun7238 Před rokem +3

    what about in server components

    • @joshtriedcoding
      @joshtriedcoding  Před rokem

      I think you can fetch data server side as "dehydrated data" that you can then pass to the frontend, thereby making it immediately accessible

    • @alsherifkhalaf7385
      @alsherifkhalaf7385 Před rokem

      ​@@joshtriedcoding could you talk about this 😊

  • @bobo21D
    @bobo21D Před 4 měsíci

    Thank you for the advice bro

  • @alberteinstein7231
    @alberteinstein7231 Před rokem

    Thanks for sharing, learned a lot as usual.

  • @NerdistRay
    @NerdistRay Před 11 měsíci

    "We all know this so I cut it out"
    Umm, I actually don't know. This is the first video I came across when I was searching up about data fetching in react project.

  • @timetosleep8055
    @timetosleep8055 Před rokem +1

    If i'm using next 13 app dir with react server component , would you prefer to use react query for ssr over the regular way of fetching (with a custom fetch wrapper)?

  • @jdotgururaj
    @jdotgururaj Před rokem +2

    The video is super helpful 🎉

  • @mohamed-zhioua
    @mohamed-zhioua Před rokem +1

    Axios is huge in terms of size and it comes in with so many abstractions one will never use. There is a much better solution that more and more start to use witch is : ky

  • @robnauticus
    @robnauticus Před rokem

    Liking your content! Only critique so far is no dark mode on your pages.😁

    • @joshtriedcoding
      @joshtriedcoding  Před rokem +1

      on my pages?

    • @memegalore257
      @memegalore257 Před rokem

      I think he meant the screen you were doing the comparison on was light, maybe a dark screen would be better

    • @robnauticus
      @robnauticus Před rokem

      @@joshtriedcoding Hey Josh, Excalidraw and your other 8hr vid your site bg was stark white which was pretty jarring. Good stuff tho.

    • @joshtriedcoding
      @joshtriedcoding  Před rokem +1

      Ahaa

  • @dearvivekkumar
    @dearvivekkumar Před rokem

    Nice content you are creating on your channel as I am learning reactjs/nextjs.
    I have one question related with this topic. Should react-query can be used as replacement for redux / RTK.

  • @kratos_respawned
    @kratos_respawned Před rokem +1

    Please make a video on SWR , it gives some additional features like optimistic updates

  • @ameer6168
    @ameer6168 Před rokem

    but how to combine this with ssr because we can't use hooks in server component

    • @joshtriedcoding
      @joshtriedcoding  Před rokem

      Turn the components you'd like to use this in into client components

  • @reubence_
    @reubence_ Před rokem

    Hey josh, help me understand why do you use yarn over npm? I've come across a lot of posts and people ( like theo ) who make arguments in favour of npm and as I understand it's supposed to be better than yarn.

    • @amasoharnold4762
      @amasoharnold4762 Před rokem

      He probably started using yarn when npm was still shitty and never looked back
      Npm wasn't so good for awhile but its really good now

    • @joshtriedcoding
      @joshtriedcoding  Před rokem +2

      It all comes down to one specific time when npm would just not link two dependencies in my project together. Would not work. No matter what I tried. Used yarn, worked perfectly. As Amasoh said, never looked back since then. But thanks for the heads-up, wasn't aware it's better now

    • @therollingambit5222
      @therollingambit5222 Před rokem

      @@joshtriedcoding have u tried pnpm? I think it's more memory efficient as it uses symlinks in the node_modules folder

    • @joshtriedcoding
      @joshtriedcoding  Před rokem +1

      @@therollingambit5222 it is, never tried it tho

  • @faizanahmed9304
    @faizanahmed9304 Před rokem

    I agree react-query is amazing, even I use it in my personal projects.

  • @NotBeHaris
    @NotBeHaris Před rokem +1

    Hi Josh, Please make a complete video on clerk integeration in next13 because when i tried, After user logged in still navbar not render the authenticated user menu. And i am using serverside authentication

  • @tomnetoo
    @tomnetoo Před rokem

    youre the jacob collier of the code

  • @iukys3889
    @iukys3889 Před rokem

    Weird comparison, react query does not replace axios or fetch

  • @federicorivero
    @federicorivero Před rokem

    very well explained, very good your videos!

  • @zb4238
    @zb4238 Před rokem +2

    Tanstack-query goes much deeper than you in your video managed to cover and it doesn't expose it in real light. It's dangerous to start using it since it will be real hard to go back to the old ways once you dig deeper.

  • @likatest7718
    @likatest7718 Před rokem

    i still dont get it what is the relationship beetwen spaghetti and this video?

  • @atifulislamasif7893
    @atifulislamasif7893 Před rokem +1

    I would like to know your opinion about AI taking over software engineers.

  • @chrishabgood8900
    @chrishabgood8900 Před rokem

    you can do promises with axios.

  • @dominikyszkowski7663
    @dominikyszkowski7663 Před rokem

    What is the extensions that generates whole component with just 'fc' ?

  • @stevebendersky2056
    @stevebendersky2056 Před rokem

    Is there a way to build it a native way? I don't want to install external library for no reason

  • @madukomablessed4712
    @madukomablessed4712 Před rokem

    This is awesome, but I want to ask, isn't this more written code than already?

  • @JukkaPekkaKeisala
    @JukkaPekkaKeisala Před rokem

    What is the plugin in VS Code that shows the package size?

  • @nested9301
    @nested9301 Před rokem

    What if iwant it global how can i share the fetched data between components

  • @dgoenka1
    @dgoenka1 Před 11 měsíci

    I have been trying to find out for some time now, does RTK also handle aborts when there are multiple queries taking place?

    • @dgoenka1
      @dgoenka1 Před 11 měsíci

      Also, I always wished that they go that last mile and make all these libraries like fetch, axios (bonus points for firebase, websocket, etc) just plug and play instead of having to write

  • @webdev_telugu
    @webdev_telugu Před rokem

    How do i provide this data, error, isLoading to another components?
    Should I prop drill them?

    • @anricoj1
      @anricoj1 Před rokem

      It depends on what your use case is.
      Personally I like to just assign my response to a variable like this:
      const usersResp = useQuery(…)
      You can
      1. Pass it as a prop
      2. Take advantage of the “children” prop to avoid needless prop drilling. (Depends on your component tree)
      3. Use context
      4. Pretty sure you can use the ‘useQueryClient’ hook to get a queries state too.

  • @StephanHoyer
    @StephanHoyer Před rokem

    wow, only 7kb of library code for a xhr wrapper... you react guys are really easy to impress... 🤷‍♀

  • @ShadowsPowerFy
    @ShadowsPowerFy Před rokem

    Hmm this is not true within next.js 13. They modified the fetch() api. I'm sure you allready knew that.

  • @notfadeaway6617
    @notfadeaway6617 Před rokem

    Interesting. But why fetch is still very common? I will learn reactquery

  • @adityaj21
    @adityaj21 Před rokem

    can trpc be used instead of react query?

  • @AmodeusR
    @AmodeusR Před rokem

    How does React Query compares to SWR? It could be an interesting video to make about.

  • @artyomtaranenko2267
    @artyomtaranenko2267 Před rokem

    What about rtk, swr, trpc?)

  • @drivebuss8079
    @drivebuss8079 Před rokem

    what about useSWR

  • @oopss794
    @oopss794 Před rokem

    any performance differences?

  • @priyanshusahu4511
    @priyanshusahu4511 Před rokem +1

    It just like the redux but it is much easier than that 😃

  • @blossomdoom7609
    @blossomdoom7609 Před rokem

    How do you mutate data in nextjs 13?

  • @duoctran9069
    @duoctran9069 Před rokem

    you can compare RTK query ?

  • @OmidFaryabi
    @OmidFaryabi Před rokem

    even in next13 app router ?

  • @mpglearncode
    @mpglearncode Před 10 měsíci

    Klasse Video kann man das auch mit react native / Expo machen?

  • @rp2804
    @rp2804 Před rokem

    next js has useswr and react query too!

  • @austincodes
    @austincodes Před rokem

    React query + fetch is king

  • @waliahmed3035
    @waliahmed3035 Před rokem

    Hey Josh, any comments on Wretch fetching package?

  • @ambrosebeavers
    @ambrosebeavers Před rokem

    Yooo man, you're BAAAAAAADDDD!

  • @wagnermoreira786
    @wagnermoreira786 Před rokem

    Axios uses the OLD XHR API, pretty bad and limited...

  • @mkrzyzowski
    @mkrzyzowski Před rokem

    Axios returns promise whi hbcan be handled with catch.

  • @alexanderkomanov4151
    @alexanderkomanov4151 Před rokem

    Thanks a lot!

  • @AlAminKhan-on4ts
    @AlAminKhan-on4ts Před rokem

    What about apollo client??

  • @FullStackDevGreg
    @FullStackDevGreg Před rokem

    Mr Josh,
    After 4 year of coding with react I'm just hearing about react query 😢

  • @nadirmanzi2325
    @nadirmanzi2325 Před rokem

    Now make a tutorial on react query

  • @waliahmed3035
    @waliahmed3035 Před rokem

    Josh please make a video for next js 13 and reactQuery and can you please explain it with real api calls and prisma?

    • @joshtriedcoding
      @joshtriedcoding  Před rokem

      We can use react query the same way as in regular react. You can fetch data with prisma on the backend and then request that with react query on the FE. You mind elaborating?

  • @ricardomonge2769
    @ricardomonge2769 Před rokem

    Or RTK query!

  • @mehdihs3478
    @mehdihs3478 Před rokem

    what about useSwr hook?

    • @joshtriedcoding
      @joshtriedcoding  Před rokem

      they both solve the same issue and go about it slightly different in the syntax department

  • @jo3436
    @jo3436 Před rokem +1

    🎉

  • @speedofspin
    @speedofspin Před 9 měsíci

    Fetching data from your view is just wrong. It violates most basic programming principles.

  • @nazmulalam1982
    @nazmulalam1982 Před rokem

    Next js 13 i face slug problem please create tutorial slug

  • @rod6722
    @rod6722 Před rokem

    1:12 Lmao chad move! 😂

  • @nested9301
    @nested9301 Před rokem

    no iwant to reinvite the wheel thanks 😂

  • @ebibek1091
    @ebibek1091 Před rokem

    Make a video on redirect in nextjs 13

  • @shayanalijalbani9894
    @shayanalijalbani9894 Před rokem

    Hi can we create something new that is not present like no one create that project that will be created by josh and there students with there different designs

  • @smallo9287
    @smallo9287 Před rokem

    But, why did you use fetch() on most of your videos? 😂😂😂

    • @joshtriedcoding
      @joshtriedcoding  Před rokem

      because I share what I learn, and I happened to learn that react query is awesome

  • @MutantBikers
    @MutantBikers Před rokem

    Cool

  • @T25de
    @T25de Před rokem

    I’m actually not convinced fetch() is not your favorite 😅

  • @fromthebeattothesaber1419

    @joshtriedcoding you forgot XMLHttpRequest xD

  • @user-ud4bj9vc7l
    @user-ud4bj9vc7l Před 5 měsíci

    Why axios with typescript is spaghetti??? Man remove the crown please.