» Tag
react
62 postsReact useLocalStorage: SSR-Safe Persistent State Hook
A look at the four hidden bugs in hand-rolled useState+useEffect localStorage patterns, and how the useLocalStorage hook fixes SSR, sync, and serialization issues.
React useCallback vs useMemo: When Do You Really Need Them
Wrapping every function in useCallback can hurt performance instead of helping. Learn a profiler-first approach to knowing when useMemo and useCallback actually matter.
How GitHub Made Diff Lines Fast Again
GitHub redesigned its React-based Files changed tab to cut DOM node counts and JS heap usage. Here's how large pull request diffs got dramatically faster.
CommitBrief — AI code reviews, right in your terminal
A provider-agnostic, local-first CLI that reviews your staged changes, a historic range, or a whole GitHub pull request. Zero telemetry, no server. Free and open source.
commitbrief.comShadcn/UI Defaults to Base UI Instead of Radix
Shadcn/ui has transitioned to Base UI as the default component library. What does this change mean for new projects?
Rust React Compiler Now Native in Vite
The Rust React Compiler is now natively supported in Vite, offering speed improvements and enhanced features.
New Tool for React 19: Quickly Access Source with carbon8r
A new solution for source-opening tools that stopped working in React 19: the carbon8r Vite plugin.
Reverse Engineering ChatGPT Web: OpenAI's Success for a Billion Users
An in-depth look at the architecture and technical decisions behind OpenAI's ChatGPT web application.
A localStorage pattern causing data loss due to hydration issues
An examination of hydration issues causing user data loss in localStorage setups.
Insights from Compiling Claude Code's 13 MB Minified CLI to a Native Binary
Compiling Claude Code's 13 MB CLI to a native binary revealed key insights for TypeScript compiler optimization.
Debugging a Legacy CRA and Django Deployment Pipeline
Challenges and solutions encountered while containerizing legacy CRA and Django applications. Key lessons for engineers.