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 😂
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
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
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
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.
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
wow that's some serious advanced stuff, thank a lot.
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 😂
Haha sometimes you gotta tell TS to "trust the process." Have a feeling it's my Node environment, since iterable streams are quite new!
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
there is, and it's called rxjs and eveyone hates it 😂
This was extremely helpful, excellent video. Thanks for sharing!
Amazing video, please make more, your presentational style is super engaging :)
Boom 👊 video thanks for sharing.
No shot you also like everything everything!! Fantastic video again btw
Oh FULL shot. Raw Data Feel is an all time classic 🫡
Amazing video, thank you Ben
Great job Ben! 👏
Bro, you are the best.
I previously built a blocking in-order version and called it Suspend in order to acknowledge its many flaws.
I'm getting big Michael Reeves vibes from your videos. Great stuff tho! Liked and subscribed
You know what that's a compliment. Thanks!
Great work tom holland
It finally dropped 🎉
5:20 First time I see a real example for using generators
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
@@bholmesdev Haha nice :) I've played around with generators and was waiting for the opportunity to use em 😂 I'll remember that use case !
How async generators work?
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
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.
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
anyone know which colour scheme this is please?
marketplace.visualstudio.com/items?itemName=astro-build.houston
Hey Ben whats your oh my posh theme.
It is pretty posh huh? It's the spaceship theme :)