JS Party: JavaScript, CSS, Web Development cover image

The future of React

JS Party: JavaScript, CSS, Web Development

CHAPTER

Can a Server Component Stream Data and Continuously Update?

Right now the solution would probably be more of a client side fetching approach or polling approach. If you're talking about things like web sockets, where you want to just like send new information, that would right now would be kind of done as a client component. That's what I was thinking of of like a Twitter fire hose type thing where it was just constantly doing that. Okay. Got it. Yeah. You just start, you know, writing your components as usual. But for example, you can do an async awaiting. One of the things that we're exploring is support for like anync iterable so that you can actually have like a wait for a list of values to resolve

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner