Khang Việt
banner
khangviet.bsky.social
Khang Việt
@khangviet.bsky.social
Reposted by Khang Việt
⚛️📝 New on Overreacted: What Does "use client" Do?
What Does "use client" Do? — overreacted
Two worlds, two doors.
overreacted.io
April 25, 2025 at 4:22 PM
Reposted by Khang Việt
Today we're sharing that View Transitions and Activity are ready to try in the experimental channel, along with docs and updates on other areas we're actively working on:

react.dev/blog/2025/04...
React Labs: View Transitions, Activity, and more – React
The library for web and native user interfaces
react.dev
April 23, 2025 at 3:45 PM
Reposted by Khang Việt
Advanced React: Production case studies from ambitious web projects: largeapps.dev/case-studies... - our latest write-up!
April 15, 2025 at 10:22 AM
Reposted by Khang Việt
⚛️📝 New on Overreacted: JSX Over The Wire overreacted.io/jsx-over-the...
JSX Over The Wire — overreacted
Turning your API inside-out.
overreacted.io
April 15, 2025 at 3:54 PM
Reposted by Khang Việt
⚛️📝 New on Overreacted: React for Two Computers
React for Two Computers — overreacted
Two things, one origin.
overreacted.io
April 9, 2025 at 8:46 AM
Reposted by Khang Việt
Happy to announce Parcel v2.14, now with support for React Server Components! 🥳

RSCs can be integrated into client-rendered apps, server rendered, or statically rendered at build time.

Also: rust MDX compiler, create-parcel CLI, new error overlay, and native import maps.

parceljs.org/blog/v2-14-0
March 18, 2025 at 3:47 PM
Reposted by Khang Việt
Life improved immensely once I learned to stop telling Cursor "it still doesn't work" and instead tell it to pause, don't write any code, investigate the issue properly, come up with 3-5 theories for what's going wrong, and validate theories with logs.

I also give it web + docs access, if relevant.
February 27, 2025 at 5:42 PM
Reposted by Khang Việt
We've optimized our Incremental Static Regeneration (ISR) infrastructure to be faster and more cost-efficient. This means up to:

• 65% savings on ISR reads and writes
• 40% improved TTFB for ISR cache misses
• 80% improved TTFB for ISR cache reads

vercel.com/blog/isr-on-...
ISR on Vercel is now faster and more cost-efficient - Vercel
We've optimized how ISR cache updates are managed on Vercel, making them faster and more cost-efficient.
vercel.com
January 30, 2025 at 10:56 PM
Reposted by Khang Việt
Must reads for web developers - how modern browsers work:

1️⃣ bit.ly/browsers-pt1
2️⃣ bit.ly/browsers-pt2
3️⃣ bit.ly/browsers-pt3
4️⃣ bit.ly/browsers-pt4

and browser.engineering a free to read book on the topic
January 12, 2025 at 11:57 AM
Reposted by Khang Việt
📚 New blog post here!

If you're interested in how bundlers like webpack support React Server Components, this blog post shares our research and practices.

github.com/orgs/web-inf...
RSC and Server Action Bundle Practice · web-infra-dev · Discussion #23
This article introduces the construction practices of RSC (React Server Components) and Server Action in React, including their concepts, rendering methods, packaging process in webpack, and how Tu...
github.com
January 8, 2025 at 1:15 AM
Reposted by Khang Việt
🎊 Happy New Year!

I discovered a lot of very cool dev stuff in 2024, from libraries to devtools to educational resources. Thought it’d be fun to share them all, to help kickstart your 2025!

Let’s go through the list. 🧵
January 1, 2025 at 5:12 PM
Reposted by Khang Việt
Last minute purchases before the holidays:
📓 CSS The Definitive Guide by @meyerweb.com & @estelle.bsky.social
📗 Design for Developers by @seaotta.dev
📘 Mindful Design by @scott.is
January 2, 2025 at 3:02 PM
Reposted by Khang Việt
I’m migrating some projects from create-react-app to Vite, and running into an issue where Vite doesn’t allow JSX inside `.js` files.

Found a neat lil’ script to rename any files from `.js` to `.jsx` if they contain JSX:
gist.github.com/parties/90cd...
rename all *.js files containing React markup to *.jsx
rename all *.js files containing React markup to *.jsx - renameReactJsToJsx.sh
gist.github.com
December 13, 2024 at 5:40 PM
Reposted by Khang Việt
Just published a new blog post:

Thoughts on What RSC Means for SPAs
Wanna try Waku?

blog.axlight.com/posts/though...
Thoughts on What RSC Means for SPAs
Introduction RSC stands for React Server Component, but in this post, I’ll use RSC to refer to a broader architecture consisting of two key aspects: The core feature, which is the ability to serialize...
blog.axlight.com
November 26, 2024 at 12:30 PM
Reposted by Khang Việt
React Router v7 is here!

With framework mode, everything that made Remix great is now built into React Router.

remix.run/blog/react-r...
React Router v7
React Router v7 brings all the great things you love from Remix back to React Router
remix.run
November 22, 2024 at 10:28 PM
Reposted by Khang Việt
This fix for this is so slick: instead of reverting back to the old behavior where Suspense fallbacks have to wait for suspended siblings to render, the new feature commits fallbacks immediately, then schedules a render for the siblings after to "pre-warm" the lazy requests in the tree.
November 14, 2024 at 10:07 PM
Reposted by Khang Việt
My talk from #nextjsconf is available on YouTube!

www.youtube.com/watch?v=CvAy...
React Server Components: Elevating speed, interactivity, and user experience (Aurora Scharff)
YouTube video by Vercel
www.youtube.com
November 2, 2024 at 8:02 PM
Reposted by Khang Việt
there’s no such thing as “global state”
October 21, 2024 at 8:57 PM
Reposted by Khang Việt
what makes a good component?
October 23, 2024 at 10:32 AM
Reposted by Khang Việt
🌠 For years, the #1 most requested feature in CSS was Container Queries. We wanted them so badly!

Well, they’ve arrived… and none of us are using them. 😂

I think I know why, and I just published a new blog post that will hopefully change that!

Check it out:
www.joshwcomeau.com/css/containe...
A Friendly Introduction to Container Queries • Josh W. Comeau
It’s been a couple of years since container queries started landing in browsers… so why isn’t anyone using them? It turns out that container queries are kinda tricky; they’re not as straightforward as...
www.joshwcomeau.com
November 4, 2024 at 4:36 PM