React 18 is coming soon. I hope 🤞
React 18 is the one with Suspense. The major refactor that enables transparent asynchronous rendering.
Yes that means you can load data without async functions and draw large animations that skip frames without UI blocking.
I showed off what that means with 2 demos at a React Dinners talk during the summer. It was lots of fun. Everyone went "Wow shiny" at suspense-for-cpu and "Omg gimme now I need this!" at suspense-for-fetch. Solves a huge pain in the ass.
The suspense-for-cpu portion is based on A better React 18 startTransition demo where I use a fractal as the worst case scenario for React rendering. Works without custom performance tricks ✌️
The suspense-for-fetch portion is based on React 18 and the future of async data
You can try
startTransition with React alpha versions right now, fetch is under the experimental flag. Coming in 18.x
Here's how it works 👇
And get thoughtful letters 💌 on mindsets, tactics, and technical skills for your career. Real lessons from building production software. No bullshit.
"Man, love your simple writing! Yours is the only newsletter I open and only blog that I give a fuck to read & scroll till the end. And wow always take away lessons with me. Inspiring! And very relatable. 👌"
Ready to Stop copy pasting D3 examples and create data visualizations of your own? Learn how to build scalable dataviz components your whole team can understand with React for Data Visualization
Curious about Serverless and the modern backend? Check out Serverless Handbook, modern backend for the frontend engineer.
Ready to learn how it all fits together and build a modern webapp from scratch? Learn how to launch a webapp and make your first 💰 on the side with ServerlessReact.Dev
By the way, just in case no one has told you it yet today: I love and appreciate you for who you are ❤️