I Never Want To Fetch Data Any Other Way

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

КОМЕНТАРІ • 170

  • @joseandkris
    @joseandkris Рік тому +60

    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  Рік тому +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 Рік тому

      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  Рік тому +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 Рік тому +1

      can you please suggest learning materials on imlementing caching?

    • @jordan59961
      @jordan59961 11 місяців тому

      @@joshtriedcodingwell said.

  • @nicolas_vl
    @nicolas_vl Рік тому +21

    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)

  • @hynekss8618
    @hynekss8618 Рік тому +22

    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 10 місяців тому +2

      Is that good or bad?

    • @hynekss8618
      @hynekss8618 10 місяців тому

      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

    • @luiseduardodelgadogallardo3294
      @luiseduardodelgadogallardo3294 Місяць тому

      ​@@UFO_808 It's very old and not recommended

  • @codinginflow
    @codinginflow Рік тому +15

    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 Рік тому +1

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

  • @jason_v12345
    @jason_v12345 Рік тому +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 Рік тому +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 Рік тому +5

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

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

      @@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 Рік тому

      @@zb4238 What does handling state management even mean?

  • @sunny7268
    @sunny7268 Рік тому +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.

  • @granporculio
    @granporculio Рік тому +23

    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 Рік тому +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

  • @anomalydnb2
    @anomalydnb2 9 місяців тому +1

    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! :)

  • @akporraphael9069
    @akporraphael9069 11 місяців тому +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.

  • @miguelowd
    @miguelowd Рік тому +18

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

  • @beepdotboop
    @beepdotboop Рік тому +14

    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

  • @Shyxi59
    @Shyxi59 Рік тому +8

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

  • @mma93067
    @mma93067 Рік тому +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 Рік тому

      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 Рік тому +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 Рік тому

      @@saralightbourne Same true.

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

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

  • @landerzmcfuzzy
    @landerzmcfuzzy Рік тому +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 Рік тому +1

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

  • @yousafwazir3167
    @yousafwazir3167 Рік тому +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

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

    I am gonna use react query on my next project 😊

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

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

  • @gosnooky
    @gosnooky Рік тому +10

    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 Рік тому +5

      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! 😂😂😂

    • @aseelkp10
      @aseelkp10 10 місяців тому

      Could you suggest some references?

  • @dkshadow709
    @dkshadow709 Рік тому +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.

  • @jaroslavhuss7813
    @jaroslavhuss7813 Рік тому +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 Рік тому +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  Рік тому

      Any specific reason you chose this approach?

    • @jaroslavhuss7813
      @jaroslavhuss7813 Рік тому +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 Рік тому +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

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

    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 :)

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

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

  • @ramanavijay78
    @ramanavijay78 Рік тому +2

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

  • @BuhuuRecords
    @BuhuuRecords Рік тому +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?

  • @mmzzzmeemee
    @mmzzzmeemee Рік тому +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 Рік тому

      THIS

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

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

  • @ateyob
    @ateyob Рік тому +2

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

  • @am4deuss
    @am4deuss Рік тому +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

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

    josh i love you youtube channel, feel like home.

  • @vichitra-yt
    @vichitra-yt Рік тому +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..✌🏻

  • @timetosleep8055
    @timetosleep8055 Рік тому +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)?

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

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

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

    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.

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

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

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

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

  • @mohamed-zhioua
    @mohamed-zhioua Рік тому +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

  • @NotBeHaris
    @NotBeHaris Рік тому +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

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

    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.

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

    Awesome and on to the point video as always!

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

    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 Рік тому

      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

  • @bobo21D
    @bobo21D 7 місяців тому

    Thank you for the advice bro

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

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

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

      on my pages?

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

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

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

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

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

      Ahaa

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

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

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

    one my new fav channels, subbed

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

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

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

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

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

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

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

    what about in server components

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

      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 Рік тому

      ​@@joshtriedcoding could you talk about this 😊

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

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

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

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

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

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

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

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

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

    Weird comparison, react query does not replace axios or fetch

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

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

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

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

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

      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.

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

    Hey Josh, any comments on Wretch fetching package?

  • @zb4238
    @zb4238 Рік тому +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.

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

    you can do promises with axios.

  • @jehadhlewi7900
    @jehadhlewi7900 20 днів тому

    how can add cache : no store in axios ?

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

    "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.

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

    Thanks for sharing, learned a lot as usual.

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

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

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

    youre the jacob collier of the code

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

    can trpc be used instead of react query?

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

    next js has useswr and react query too!

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

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

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

    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  Рік тому

      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?

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

    you can compare RTK query ?

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

    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 Рік тому

      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  Рік тому +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 Рік тому

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

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

      @@therollingambit5222 it is, never tried it tho

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

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

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

    very well explained, very good your videos!

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

    What about rtk, swr, trpc?)

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

    How do you mutate data in nextjs 13?

  • @jdotgururaj
    @jdotgururaj Рік тому +2

    The video is super helpful 🎉

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

    Now make a tutorial on react query

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

    any performance differences?

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

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

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

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

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

    Axios returns promise whi hbcan be handled with catch.

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

    React query + fetch is king

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

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

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

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

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

    what about useSWR

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

    Or RTK query!

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

    Next js 13 i face slug problem please create tutorial slug

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

    even in next13 app router ?

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

    Thanks a lot!

  • @AlAminKhan-on4ts
    @AlAminKhan-on4ts Рік тому

    What about apollo client??

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

    what about useSwr hook?

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

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

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

    1:12 Lmao chad move! 😂

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

    Make a video on redirect in nextjs 13

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

    🎉

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

    Yooo man, you're BAAAAAAADDDD!

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

    no iwant to reinvite the wheel thanks 😂

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

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

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

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

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

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

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

    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

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

    Cool

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

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

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

    @joshtriedcoding you forgot XMLHttpRequest xD