it's awesome. my favorite piece about it is how it flattens all async calls and gives you the mental model of sync execution.
uAS+async will always run in order, and each call gets access to previous state even if it was called before the previous call finished ๐คฏ
03.07.2025 14:06 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
Process wise I write way more jsdoc comments now. I treat those as future proofing and guarding against any agent that comes into the code base.
Also I'm finding tests to be way more valuable these days. I look at tests as a cheap insurance option now.
25.06.2025 14:23 โ ๐ 3 ๐ 0 ๐ฌ 0 ๐ 0
I find it helpful it on the edges for non-app code. Like "make me a persistent hash map" that I can then tweak/play with.
Also it's amazing for autocompleting the current line.
But I'm not a fan of huge chunks of app code written with AI. I believe that requires taste that the agent doesn't have.
25.06.2025 14:18 โ ๐ 5 ๐ 0 ๐ฌ 2 ๐ 0
This switches to the react-server export condition for this import? I like it!
25.06.2025 14:04 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
This can be hard to wrap your head around the first time you see RSC. I think it deserves a follow up post!
18.06.2025 13:46 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
This is a great question. If you have <Intersection><RSC></Intersection>, the RSC will run on the server before <Intersection> runs on the client.
So you end up with <Intersection>Output from RSC</intersection>. You can wrap in Suspense to not block rendering, but it doesnt prevent RSC from running
18.06.2025 13:45 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0
Sounds interesting... Do you have an example UI in mind for that sort of use case?
17.06.2025 18:07 โ ๐ 0 ๐ 0 ๐ฌ 1 ๐ 0
Composable streaming with Suspense
A look at two real-world UIs that rely on streaming with Suspense.
New blog post: Composable streaming with Suspense
One of my favorite patterns lately has been using Suspense to stream in lazily loaded content. It's perfect for dynamic dropdown menu options.
twofoldframework.com/blog/composa...
17.06.2025 15:18 โ ๐ 48 ๐ 5 ๐ฌ 1 ๐ 1
Great great article, thanks for sharing
I know it's a bit boilerplatey, but personally I've found the setState during render (increase/decrease example from docs) to work well with derived useStates based on changing props
12.06.2025 16:26 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
Really enjoyed this one. Great post and the video walk through is fantastic as well.
09.06.2025 19:32 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
They are the worst :(
Also the AIs that start commenting on issues and other people's pull requests
22.05.2025 21:21 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
React Router RSC Preview
React Router's preview support for React Server Components is now available
React Router RSC Preview is now available
This brings support for all of React's API in a way that is incrementally adoptable by the millions of React Router apps in production today, but also feels great for a greenfield React Router app
remix.run/blog/rsc-pre...
16.05.2025 15:23 โ ๐ 68 ๐ 10 ๐ฌ 3 ๐ 1
I'm willing to bet in most my RSC apps I'm passing larger objects than needed between server and client, but it hasn't really been a problem so far.
Agree with Jacob that it's about education. My 2c is devs need to understand .bind and serialization to do RSC well
18.05.2025 00:52 โ ๐ 2 ๐ 0 ๐ฌ 0 ๐ 0
I made this to help with hoisting and encryption for inline server functions github.com/twofold-rsc/...
Lemme know if you have any interest in something like that for Parcel
17.05.2025 12:57 โ ๐ 2 ๐ 0 ๐ฌ 1 ๐ 0
Server Components Give You Optionality | Daniel Saewitz
Server Components Give You Optionality saewitz.com/server-compo...
30.04.2025 17:39 โ ๐ 20 ๐ 1 ๐ฌ 1 ๐ 2
Will do! Thanks for the nudge!
29.04.2025 17:09 โ ๐ 3 ๐ 0 ๐ฌ 0 ๐ 0
It's so elegant, been using it for the last few weeks and I love it. Might be my favorite example of a directive because:
- Automatic cache keys
- Function hoisting similar to server functions (you can close over variables)
- Opaque references (passing children doesnt create a new entry)
28.04.2025 13:26 โ ๐ 6 ๐ 0 ๐ฌ 1 ๐ 0
Thanks Artem!
26.04.2025 19:44 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
You can serialize a promise in React
Use React to create a promise on the server and later finish it on the client.
New blog post on serializing promises in React. Learn how RSC serializes data between the server and client.
twofoldframework.com/blog/you-can...
25.04.2025 15:06 โ ๐ 66 ๐ 7 ๐ฌ 2 ๐ 2
Great post.
The squiggly line that splits the server and client components is an awesome UI and makes the code easy to read. Is that new?
22.04.2025 14:48 โ ๐ 7 ๐ 0 ๐ฌ 1 ๐ 0
Upstanding, trustworthy (the opposite of click bait, gossip)
I look forward to your newsletter every week, it's the best way to see what's happening in the React ecosystem
21.04.2025 18:46 โ ๐ 4 ๐ 1 ๐ฌ 1 ๐ 0
If you're running an RSC server how do handle the react-server condition?
1. start node with --conditions=react-server?
2. run node without conditions, but start a worker with the react-server condition?
3. Something else, like a bundle time thing?
I've been doing 1, but I'm not sure it's best
17.04.2025 00:32 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
The Async UI Framework Checklist is great
15.04.2025 22:21 โ ๐ 3 ๐ 0 ๐ฌ 0 ๐ 0
Toast messages in React Server Components
I wrote about building toast messages into an app with React Server Components.
Really liked how easy it was to use server functions, cookies, and useOptimistic to make this all come together.
buildui.com/posts/toast-...
11.04.2025 13:04 โ ๐ 7 ๐ 1 ๐ฌ 1 ๐ 0
this is fantastic. we've got a requirement in an app at work where we need to load all the images before rendering the next page. having all that done by react (and tied to a transition) is gonna be awesome
11.04.2025 13:02 โ ๐ 1 ๐ 0 ๐ฌ 1 ๐ 0
RSC with a form and server action running while JavaScript is turned off
22.03.2025 03:31 โ ๐ 5 ๐ 0 ๐ฌ 1 ๐ 0
Hey @sebmarkbage.calyptus.eu I have an RSC+MPA question... is there a way to have a <form> that uses a server action directly (so you get $ACTION_ID/REF inputs for MPA), but then after hydration is able to work with client-side code that uses useOptimistic?
19.03.2025 21:21 โ ๐ 0 ๐ 0 ๐ฌ 0 ๐ 0
Completed this! Ended up releasing it as an open source library: github.com/twofold-rsc/...
My first RSC OSS tool, feels good :)
15.12.2024 04:28 โ ๐ 5 ๐ 0 ๐ฌ 0 ๐ 0
Wow that's awesome! Thanks for trying it out :)
10.12.2024 14:29 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
RSC stream feels like it has so many use cases out outside of component rendering... it's like json on steroids.
07.12.2024 03:55 โ ๐ 1 ๐ 0 ๐ฌ 0 ๐ 0
A software developer that shares tech content I find interesting
brenelz.com
Software Engineer @vercel.com
๐ณ๐ด Web Developer | React & Next.js | Microsoft MVP | International Conference Speaker | Consultant at crayonconsulting.no
i like computers
she/her ๐ณ๏ธโ๐
๐berlin (and warsaw sometimes)
https://twitter.com/lubieowoce
https://github.com/lubieowoce
Open Sourcerer. Co-author of the Extensible Web Manifesto. Creator of Bundler, Cargo and Ember.js. Father of wykittens and wifelette's husband. he/him
think then garbage collect
https://alvar.dev
Software Engineer @ebay!
๐ง๐ท๐ฎ๐น๐ฉ๐ช๐บ๐ธ
๐ฅ Join 45k React devs - Stay up-to-date:
๐จ ThisWeekInReact.com
Docusaurus maintainer @ Meta
She/her. I contribute to Node.js and V8. I post about museums, food, plants and other stuff too. https://github.com/joyeecheung
React ยท Next.js ยท Vercel
I'm a software engineer at Vercel. Author of Lexical JS and Inferno JS. Former React core team engineer, and core maintainer of Svelte.
๐ฆ CSS Modules co-creator / ๐ฟ Remix + React Router at Shopify / ๐ง Vanilla Extract / MelbJS organiser / dad x4
โ๏ธ Sir Tan @TanStack.com ๐ TypeScript ๐ Web โ๏ธOpen Source Software๐กUI/UX/DX ๐ผCo-Founder @NozzleIO ๐จโ๐ฉโ๐งโ๐ฆ@Ch_JesusChrist