2min chapter

Syntax - Tasty Web Development Treats cover image

Web Streams Explained

Syntax - Tasty Web Development Treats

CHAPTER

React Streaming

In remix, readable streams can only be Uh read by one person meaning that if you have a stream and you start to read it Um, it will lock itself or there's a specific word for it. So I ran into the problem where I was trying to Stream the output of my website to the browser But I also wanted to collect the html and save it as a string so that I could cache it for for the next request. How do you get the 100 output of the render like you normally would without streaming but then how do you also stream to the browser at the same time? There's just a little method called t Dot t e and you simply just call dot t and that will

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