Sign in

Sam Selikoff

@samselikoff.com
3.4K followers 78 following 150 posts

Next.js team @vercel.com youtube.com/samselikoff

PostsRepliesMedia
Sam Selikoff @samselikoff.com · 18/12/2025
Been working on a new microsite to teach Next.js patterns, and I just published a new one: "Sharing data with Client Components" See how to use promises to keep your page unblocked so it can be rendered (or prerendered) as early as possible. Enjoy! next-16-recipes.vercel.app/sharing-data...
0284
Sam Selikoff @samselikoff.com · 15/12/2025
Btw, I really hate that uAS's reducer shape contaminates server actions with prevState first arg. I kinda think examples like this should show an inline client function that calls setState with the response, before jumping to uAS. Similar to how you'd useState before useReducer. Wdyt?
100
Sam Selikoff @samselikoff.com · 15/12/2025
"Ahh... look at that. The response is <Timer>. So <ColorTimer> gets rendered, the RSC tree melts away, and we return <Timer> with a new prop. Makes perfect sense."
110
Sam Selikoff @samselikoff.com · 15/12/2025
This is so good man. Could do a lot to demystify RSCs and Server Actions. I love this one. "Ok so I'm calling a server action that returns <ColorTimer>... wtf is happening?"
120
Sam Selikoff @samselikoff.com · 20/08/2025
Cool stuff! Love seeing more frameworks exploring RSCs. How does this example work – I thought it was a fundamental part of the design of RSCs that client components can't import server components?
220
Sam Selikoff @samselikoff.com · 18/07/2025
Giving the docs for the awesome experimental <Activity> component a once-over this morning 💅
160
Sam Selikoff @samselikoff.com · 10/06/2025
🤔
210
Sam Selikoff @samselikoff.com · 06/06/2025
This should be the hello world of RSC!
1293
Sam Selikoff @samselikoff.com · 22/04/2025
I loved it. Feels like it could generalize to trees too
031
Sam Selikoff @samselikoff.com · 13/04/2025
"Stores want normalized data, but screens want graphs" Loved this phrasing from this instantdb essay. Lots of overlap regardless if you're local-firsting or not: www.instantdb.com/essays/next_...
080
Sam Selikoff @samselikoff.com · 10/04/2025
At this part right now, and immediately SQL came to mind. The SQL query is another blueprint, prepared by the first computer but sent to the DB server at request time for interpretation. Its results are closed over by the first computer as it assembles the blueprint for the second computer.
160
Sam Selikoff @samselikoff.com · 18/12/2024
This is wonderful. From Lane 8’s newest mixtape.
220
Sam Selikoff @samselikoff.com · 18/12/2024
It’s so frustrating that true constraint-based layouts seem impossible
100
Sam Selikoff @samselikoff.com · 20/11/2024
I reallyyyyy miss `import * as Dialog from ''` and <Dialog.Root>, <Dialog.Content> imports when working in RSC 😢 Both LOC and discoverability benefits. Any idea if there's a future for namespace imports in RSC?
2210
Sam Selikoff @samselikoff.com · 07/11/2024
Just updated my Mac Dock demo with transform-only animations, a smoother container, and bouncy app icons! buildui.com/recipes/magn...
3674
Sam Selikoff @samselikoff.com · 30/10/2024
Ah good to know! Looks like the lib I mentioned (use-stick-to-bottom) handles it well, I would definitely use that in a prod project!
000
Sam Selikoff @samselikoff.com · 29/10/2024
Came across this nice auto-scroller library recently: github.com/stackblitz/u... Was fun seeing it work with a useAnimatedText hook I wrote recently! Easy to tweak the spring values to change the vibe.
1170
Sam Selikoff @samselikoff.com · 28/10/2024
I don't think "going from static to dynamic" should even be in the vernacular, I think the app should be dynamic from the start since that's what's needed to "make it work". As an example here's how far down the Rails guides the concept of caching is introduced.
010