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
In this Hasty Treat, Scott and Wes explain the what, why, and how of web streaming, and some of the jargon you might encounter with web streams.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
Tweet us your tasty treats