React Suspense from scratch!

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

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

  • @OmarElmasry1
    @OmarElmasry1 9 месяцев назад +3

    wow that's some serious advanced stuff, thank a lot.

  • @NiklasZiermann
    @NiklasZiermann 9 месяцев назад +3

    I've been waiting for this. Really awesome explanation! I think trying to rebuild stuff from scratch is the best way to get a deeper understanding about them.
    I also loved the fact that TypeScript has absolutely no idea what you're doing 😂

    • @bholmesdev
      @bholmesdev  9 месяцев назад +1

      Haha sometimes you gotta tell TS to "trust the process." Have a feeling it's my Node environment, since iterable streams are quite new!

  • @OuterProduct351
    @OuterProduct351 9 месяцев назад +1

    Javascript blew my mind for a moment when I thought there was going to be a `List -> Stream` api. Although this shouldn't be hard to write by hand. Great vid

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

      there is, and it's called rxjs and eveyone hates it 😂

  • @wovalle
    @wovalle 9 месяцев назад +1

    This was extremely helpful, excellent video. Thanks for sharing!

  • @BlueeyesChineseguy
    @BlueeyesChineseguy 7 месяцев назад

    Amazing video, please make more, your presentational style is super engaging :)

  • @prashlovessamosa
    @prashlovessamosa 9 месяцев назад +1

    Boom 👊 video thanks for sharing.

  • @S.Rank_react_dev
    @S.Rank_react_dev 9 месяцев назад

    No shot you also like everything everything!! Fantastic video again btw

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

      Oh FULL shot. Raw Data Feel is an all time classic 🫡

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

    Amazing video, thank you Ben

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

    Great job Ben! 👏

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

    Bro, you are the best.

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

    I previously built a blocking in-order version and called it Suspend in order to acknowledge its many flaws.

  • @mlgnoscopeblazeit-pb9tj
    @mlgnoscopeblazeit-pb9tj 7 месяцев назад

    I'm getting big Michael Reeves vibes from your videos. Great stuff tho! Liked and subscribed

    • @bholmesdev
      @bholmesdev  7 месяцев назад

      You know what that's a compliment. Thanks!

  • @kasvith
    @kasvith 4 месяца назад +1

    Great work tom holland

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

    It finally dropped 🎉

  • @maxwebstudio
    @maxwebstudio 9 месяцев назад +1

    5:20 First time I see a real example for using generators

    • @bholmesdev
      @bholmesdev  9 месяцев назад +1

      First time I've used them too! Matthew on the Astro core team *lives* for them 😅 Sadly had to scale back our generator usage since it's much less performant than a loop. But for streams, it's the smartest option

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

      @@bholmesdev Haha nice :) I've played around with generators and was waiting for the opportunity to use em 😂 I'll remember that use case !

  • @danieljunior9519
    @danieljunior9519 9 месяцев назад +1

    How async generators work?

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

      Good question! Honestly don't know a ton. I can say that a generator function lets you return, or "yield," multiple times as results come in. To read these results, you can use a for loop over the generator. Here's the MDN docs with a couple examples developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator

  • @HarshitPrasad-n8e
    @HarshitPrasad-n8e 9 месяцев назад

    Ben I got my first freelancing gig and facing some issues. Client wants me to build a React app with node js can you suggest me a third party library which can be integrated with React in order to implement google o auth.

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

      auth.js but you would need to use next.js or remix. I wouldn't do freelancing without using a meta framework, and hosting on serverless platform i.e. vercel/cloudflare-pages

  • @bertrodgers2420
    @bertrodgers2420 8 месяцев назад

    anyone know which colour scheme this is please?

    • @bholmesdev
      @bholmesdev  8 месяцев назад

      marketplace.visualstudio.com/items?itemName=astro-build.houston

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

    Hey Ben whats your oh my posh theme.

    • @bholmesdev
      @bholmesdev  9 месяцев назад +1

      It is pretty posh huh? It's the spaceship theme :)