» Tag
frontend
59 postsRethinking useEffect: Why Event Handlers Are Often More Effective
Explore how to improve React applications by using event handlers instead of useEffect.
How I Kept a Live Chat Feed Smooth at 3,700+ Messages
How I tackled message volume challenges in my LiveShop live shopping stream. Performance improvements and results are discussed here.
Refactoring Habit Streak Logic Into a Single React Hook
How habit-streak calculation—timezones, night shifts, custom reset hours—can be centralized into a single reusable React hook, with notes on testability and UX pitfalls.
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.comVectoJS Drops the DOM, Keeps Accessibility Intact
VectoJS renders UIs to a single canvas instead of the DOM, using invisible DOM projections to keep interactive elements accessible to screen readers.
React 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.
Shadcn/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?
Thinking Horizontally in CSS Layers
The horizontal thinking approach with CSS @layer simplifies style management for engineers.
Swiper: The Fast and Efficient Slider Library
Swiper is the most comprehensive touch slider library for modern web. It stands out with its performance and modular structure.