4min chapter

Syntax - Tasty Web Development Treats cover image

Web Streams Explained

Syntax - Tasty Web Development Treats

CHAPTER

The Benefits of Web Streams

Web streams work everywhere but I like to think about it a lot in terms of server and client the no JS or dno or bun process And your browser. As you are Rendering out your page on the server you can start to send the html that is already done To the client. This is where we're going to start to get into react server components. If you have a component that takes let's say two seconds to go to the database and get the data That's probably a bit too long, but let imagine it was a second Should you wait? Or can you start to do the stuff that you can do which is Connect to the server do the all the SSL handshakes

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode