hunghg255🦋

@hunghg255.bsky.social

Im a frontend developer from Vietnam

And Rsbuild 2.1 is here too! 🦀 Powered by Rspack 2.1 ⚛️ React Compiler via plugin-react 🏝️ TanStack Start support 🎨 Tailwind CSS v4 plugin 🚀 Faster Babel & SVGR 📦 Worker imports ⚙️ Auto external

Rspack@rspack.dev · 4mo ago

🦀 Rspack 2.1 is here! ⚡️ 16% faster builds than 2.0 ⚛️ Rust React Compiler: 7–13× faster than Babel 🎨 Improved built-in CSS 📂 import.meta.glob 🔵 TypeScript 7 RC support 🧩 Source Phase Imports

Rspack 2.1.0 release note

All the useSize hooks on npm kinda suck, so I made a package with a pretty cool feature: - Only uses 1 ResizeObserver for your whole app, managed via Context (perf baby) Exports: - useSize = Dimensions as state - useSizeRef = Dimensions as ref - useSharedResizeObserver = Custom logic

GitHub - hipstersmoothie/use-shared-resize-observer

Contribute to hipstersmoothie/use-shared-resize-observer development by creating an account on GitHub.

github.com

Did you know that jQuery outperforms React, what? 😳 Sounds like clickbait, but is reality. The HTTP Archive shows 82% of sites that use jQuery have good INP on mobile📱, while only 67% do when they use React⚛️. Not just sites, also libraries. Let's fix that👇#webperf kurtextrem.de/posts/improv...

How To Improve INP: React⚛️

All-in-one guide for improving Interaction-to-Next-Paint (INP) Core Web Vital in React applications. Introduces the useAfterPaintEffect hook.

kurtextrem.de

I just dropped the beta release of react-router-devtools! 🔥 If you like the bleeding edge and want to try the network tracing feature with react-router v7 feel free to give it a go! Best network tracing videos get retweets!

Bild