uidotdev
uidotdev
  • 33
  • 2 528 843
The Story of React Query
React Query is used in 1 out of every 6 React applications. This is the story of why that is.
From the new, official React Query course we built in close collaboration with the React Query team - query.gg
Переглядів: 90 001

Відео

The Story of Astro DB
Переглядів 9 тис.3 місяці тому
The Astro team recently launched Astro DB - an efficient, local first, replicable database. This is that story.
The Story of Web Components
Переглядів 87 тис.2 роки тому
This is the story of Web Components and why, at least for now, they haven't managed to gain meaningful adoption.
The Story of Concurrent React
Переглядів 160 тис.2 роки тому
2,161 days. That's how long the React team has been working on this release. This video tells that story.
The Story of Next.js
Переглядів 551 тис.2 роки тому
This is the story of how Next.js took over the world.
The Story of Asynchronous JavaScript
Переглядів 154 тис.2 роки тому
This is the story of callbacks, promises, and Async/await in JavaScript.
The Story of React
Переглядів 247 тис.2 роки тому
This is the story of how React took over the world.
The Story of TypeScript
Переглядів 231 тис.2 роки тому
This is the story of how TypeScript took over the world.
Imperative vs Declarative Programming
Переглядів 293 тис.2 роки тому
Learn the difference between imperative and declarative programming and why you'll usually want to use one over the other.
Why React Hooks?
Переглядів 173 тис.4 роки тому
Why React Hooks?

КОМЕНТАРІ

  • @JosephCowdell
    @JosephCowdell 4 години тому

    Simple local development with a neat SQLite-type database? My mind is blown 🤯and I can scale this up! Congrats Astro

  • @JosephCowdell
    @JosephCowdell 4 години тому

    Well said, Tyler, quality-content-king. 💚Bueno! 💯

  • @zeffas1s194
    @zeffas1s194 6 годин тому

    Problem with react-query is that it assumes everyone needs caching. IMO caching by default in most projects endup being costly mistake. I just want loading and race condition problem solved. Other problem examples were just biased - context should live outside, caching was never aked for…

  • @anhvuuc8693
    @anhvuuc8693 17 годин тому

    not win anymore, i want to change to other frameworks. 😂

  • @Suraj.5260
    @Suraj.5260 21 годину тому

    an awesome video thank u man.

  • @Takatou__Yogiri
    @Takatou__Yogiri 3 дні тому

    Because of nextjs I can't think of react without nextjs. Last time I installed react without nextjs when I did not know about nextjs 😂😂

  • @pryl
    @pryl 6 днів тому

    lecture is good but sound echoes??

  • @TapetBart
    @TapetBart 8 днів тому

    SQL is unironically my favorite language. It is such an incredibly intuitive way to work with structured data. Although most implementations do not easily allow for code re-use or composition of functions (although i extensively use views, ctes and custom functions)

  • @kakun7238
    @kakun7238 8 днів тому

    so just abstraction

  • @kephas-media
    @kephas-media 9 днів тому

    Why react won? Because Angular forced everyone to use Typescript. They singlehandedly popularised typescript and kicked their dev share towards ReactJS.

  • @rjk0128
    @rjk0128 9 днів тому

    This was great, more to help us find our way in all these rapid changing environments!

  • @camerakaravan
    @camerakaravan 12 днів тому

    Impeccably engaging, loved your content! <3

  • @carlerikkopseng7172
    @carlerikkopseng7172 13 днів тому

    Still not sold. Remix/React Router just fits so much better with how I want software to work: builds on the platform, small API surface, simple to reason about, etc. The `<Image />` component does look sweet though, but I have already built such a thing several times before. Not having to, or not being able to, surely makes Next a better sell, but it's just too much overhead around it wrt deployments and the whole ecosystem.

  • @vasilisafedorova9268
    @vasilisafedorova9268 14 днів тому

    Your signals and strategies help me make more profit in the market.

  • @sumanthachark
    @sumanthachark 14 днів тому

    Animations are smoooth

  • @ludologian
    @ludologian 15 днів тому

    I'm newbie but here is my thoughts: I'm really concerned about the web dev , I think modern web dev could be revamped to something much better, easier and more intuitive. React was a mistake sure it resolved many issues back in the day but maybe we need to move on to something has better DX. why we render - rerender UI explicitly while we can use some MVU pattern that automatically updates and manage state for us. i.e a game engine. maybe it's overkill and it has its trade off but I believe many devs would love it . I learned gamedev then went to webdev finished full stack course but I don't dare to call myself a full stack developer , I'm learning svelte but I've to know why we got there. community support is much open in react thus I've to learn it too but seeing that ugly code is painful.. copy pasting snippet for specific problem won't get me anywhere, breaking the code base to smaller chunks help and overtime I gradually learn and understand concepts but overtime when I don't code often I forget all the knowledge & some concepts easily and have to Google snippets. from other developers. While I believe svelte is much better in DX I think it has it suffer from the same issue but far less annoying. i.e svelte kit 5 syntax introduce something similar to react again. some concepts such as observable pattern are friendly for this problem without using state management system , when the query fetch from a remote server maybe some realtime protocol i.e signalIR (websocket ) aka streaming might be better option? Game engine eliminate these in frontend and come with additional tools like state machine and animation timeline out of the box simplifying the workflow if you want custom animation/ behaviour for the ui and Entity Component System for data _ props Again I'm amateur and probably things I said is completely nonsense BS.

  • @morchellemusic2829
    @morchellemusic2829 17 днів тому

    Nice course but it’s expensive for me 🥲 make a monthly sub for us low income Spanish developers 😂

  • @dixztube
    @dixztube 17 днів тому

    I’ve been in go world for a moment still doing next js daily but man I love go and coming to this I’m reminded how crazy our js world is.

  • @agenticmark
    @agenticmark 17 днів тому

    ive been working on nextjs and react since nextjs was released (same with react) and yet none of my jobs ever used RQ. SO it cant have won.

  • @hunterxg
    @hunterxg 17 днів тому

    Using ignore variable instead of an abort controller 😂

    • @uidotdev
      @uidotdev 16 днів тому

      It's the official way. Your abort controller probably isn't doing what you think. react.dev/learn/removing-effect-dependencies#is-your-effect-doing-several-unrelated-things

  • @static-san
    @static-san 17 днів тому

    I like the basic description of what a React component is: a function of state that returns a view. That is brilliant and I wish I'd heard that some years ago. Took me a while to grasp how React will call your components multiple times to render things! Which gets me to how hooks are a mediocre solution that always like they were pushing what React is capable of perhaps a bit too hard.

  • @MorphTW
    @MorphTW 17 днів тому

    I wonder how many hours went into video editing... The process... Animation of code, graphics, syncing everything with a voice over. I would like to see how you do it. Thumbs up 🎉

    • @uidotdev
      @uidotdev 16 днів тому

      This one was about 2-3 weeks of work for a team of 3 working on it full time.

  • @akinhwan
    @akinhwan 19 днів тому

    Not sure what else is on your content backlog, but would be interested in watching the stories of certain coding design patterns (Big Four, etc.)

  • @akinhwan
    @akinhwan 19 днів тому

    7:55 so the reason we ended up with async await syntax is because chaining can make it hard to get state further down the chain.

  • @khushshah1256
    @khushshah1256 19 днів тому

    This is such amazing content,you should be proud of what you do. My respects to you sir ❤

    • @uidotdev
      @uidotdev 16 днів тому

      That means a lot. Thank you!

  • @knowingharsh
    @knowingharsh 19 днів тому

    Where can i read more about the 5 O'Clock rule mentioned in the video, it sounds interesting

    • @uidotdev
      @uidotdev 16 днів тому

      I made it up! I just really think the average developer doesn't care much for the craft of coding and just wants to get home ASAP (which is fine).

  • @frankfu1122
    @frankfu1122 19 днів тому

    Wow that buzzer/phone example was a stellar analogy for promise/callback

    • @uidotdev
      @uidotdev 19 днів тому

      Thank you! Glad it was helpful.

  • @its_maalik
    @its_maalik 19 днів тому

    React query is just a weak alternative for the tooling GraphQL developers have already. for REST APIs react query makes a lot of sense over manual processes.

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

    Nice 🔥🔥

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

    Love it!. This pretty much summed up my journey to react-query too. I started building my own, it got complicated. Then I switched to axios-hooks, which was pretty nice. But then I needed the same functionality for non-http calls. (fetching data from a c++ wrapper). React query doesn't care what's in your async function, so it was perfect. Plus it has a ton more features that often come in handy.

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

    "The problem is React" NOOOOOOOOooooooooo!!!!!!1111111

  • @Fanaro
    @Fanaro 21 день тому

    Too expensive, especially for anyone not earning in dollars.

  • @gkumartube
    @gkumartube 21 день тому

    Beautifully explained 🙏

  • @jimbojones8713
    @jimbojones8713 21 день тому

    great video, still don't understand why i would use astro for my content heavy site

  • @everdimension
    @everdimension 23 дні тому

    0:14 Good video overall, but I have no idea what you're talking about when you're making a "five o'clock rule" metaphore nonsense. Perhaps I'm not familiar with some trivia, but the description you give makes little sense, either. "The level of abstraction bubbles up".... wtf does that mean? Is it good or bad for an abstraction to "bubble up"? Does it mean more of it or less of it? And what does "bubbling up" have to do with "five o'clock"? As for the main "story" of react query, in my opinion you don't stress enough how caching is the main idea behind the popularity of react-query (and how react-query probably wasn't even the first to do it, but that doesn't matter, it's still the best). At the time, everyone was writing hooks for async requests and everyone was putting data in some client store using redux, flux stores and home-made alternatives. And none of them succeeded because the notion of "caching" (vs "storing") was the missing ingredient. The difference between "storing" and "caching" is subtle, but in short, with "caching" you're writing each component without ever thinking to check if the data exists or not. You just fetch it as if you don't care about duplicate requests. And the cache resolves that for you. That's the brilliant part. With the "storing" paradigm you had to check whether the data was available, and if it was, then you didn't initiate a fetch. Such orchestration was a great pain. And this is how the notion of "caching" basically killed (solved) all the "state management" problems and experiments of the time.

  • @ecereto
    @ecereto 23 дні тому

    6:49 some variations of the quote: There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors. -- Leon Bambrick There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery -- Mathias Verraes there's two hard problems in computer science: we only have one joke and it's not funny. -- Phillip Scott Bowden There are so many variations on the “there are only two hard problems in computer programming...” joke that I’m starting to suspect that programming isn’t actually very easy. -- Nat Pryce

  • @vovandarius
    @vovandarius 24 дні тому

    My takeaway is that "imperative" and "declarative" are relative concepts like "new" and "old" but instead of the timeline the comparison lies in the level of abstraction. Any declarative code abstracts away some imperative code. However, the imperative code itself (unless you're writing machine code) will be declarative to an extent as it uses abstractions over lower-level concepts and computer commands. Hence, the same code is both declarative and imperative depending on the particular abstraction you're discussing. (e.x. the JSX definition for a Btn component may be treated as imperative code when compared to this component's actual use, but there's no denying that JSX is itself declarative as it abstracts away a lot of under-the-hood code)

  • @insidiousmaximus
    @insidiousmaximus 26 днів тому

    "whah exactly do those words mean" dude you sounded just like main character in 7th Guest for a second there, gave me flashbacks.

  • @antwarior
    @antwarior 27 днів тому

    nextjs is waaayyy too clunky to me, jQuery was way more easy to learn and understand, nextjs you find yourself looking at your own code like what is this why am i feeling like I'm missing something, not in jquerry

  • @joan.paucar
    @joan.paucar 28 днів тому

    Great video, RC is one of my 'go-to' tools on every project i've

  • @irfansaeedkhan7242
    @irfansaeedkhan7242 28 днів тому

    best and deeep explanation we need more from you sir and fullstack project tutorial will be a breeze to the fire

  • @phucdihoc
    @phucdihoc 29 днів тому

    Every people in company watch this video. It's very perfect information

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

    as a person who tries different approaches in pet-projects, I find React Query and Reatom best in how the handle data, although Reatom is a bit strange at first glance and RQ is a bit easier. Reatom makes you actually write code for your need, really clean approach, RQ in that sense may be a bit clumsy you need to know your settings Thanks for the video

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

    Waiting for the history of Svelte 😆

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

    6:28 wtf was that?

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

    and react compiler is here

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

    Lol web dev reinventing the wheel and started using static typed language)

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

    This makes me appreciate React Query even more

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

    React is so terrible in 2024

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

    I'am using redux-requests lib and i'm so happy to manage my CRUD operations.