React

[ follow ]
React
fromMedium
1 week ago

How to Setup React Storybook (v9) with pNPM For Advanced-To-Beginner React Developers?

PNPM enhances Node package security and install speed (v10 disabled automatic postinstall scripts), and React Storybook enables isolated UI component development.
React
fromblog.logrocket.com
3 days ago

How to use CSS line-clamp to trim lines of text - LogRocket Blog

Seven custom React Hooks simplify web development and increase developer speed, efficiency, and effectiveness.
fromLogRocket Blog
2 weeks ago

React useEffectEvent: Goodbye to stale closure headaches - LogRocket Blog

At its core, the useEffectEvent hook allows you to create stable event handlers within effects. These handlers always have access to the latest state and props, even without being included in the effect's dependency array. However, on a broader scope, the Hook provides a solution to a subtle but common challenge that affects how effects in React handle the stale closure problem.
React
fromGitHub
1 month ago

GitHub - mutativejs/travels: A fast, framework-agnostic undo/redo core powered by Mutative patches

Efficient History Storage with JSON Patches: Instead of storing full state snapshots for each history entry, travels uses JSON Patch (RFC 6902) to store only the differences between states. This dramatically reduces memory usage, especially for large state objects with small changes. For example, changing a single field in a 1MB object only stores a few bytes in history. High-Performance Immutable Updates: Mutative is 10x faster than Immer and provides a mutation-based API for updating immutable data structures.
React
React
fromLogRocket Blog
1 month ago

How to use TanStack DB to build reactive, offline-ready React apps - LogRocket Blog

TanStack DB provides a reactive, client-side database with local-first sync, offline support, optimistic UX, SQL-like queries, and minimal boilerplate.
React
fromInfoQ
1 month ago

Nuqs Adds Debounce, Standard Schema Integration and Key Isolation

Nuqs 2.5 adds debounced URL updates, standardized schema generation, fine-grained re-render control, and experimental TanStack Router integration for improved React URL state management.
React
fromTheregister
1 month ago

Cloudflare DDoSed itself with React useEffect hook blunder

A React useEffect hook with a recreated dependency object caused repeated Tenant Service API calls, overloading APIs and causing a more-than-hour outage.
fromLogRocket Blog
1 month ago

File-based routing in React Router v7 - Why keep it optional? - LogRocket Blog

React Router was first released in November 2014 by Michael Jackson (not that M.J.) and Ryan Florence. At the time, most React developers were still figuring out how to handle navigation in single-page apps without resorting to low-level history manipulation. React Router provided a simple alternative. It lets you declare routes as JSX elements, which fit naturally into React's component model and way of thinking.
React
React
fromThe New Stack
1 month ago

Fresh + Vite Means 9-12x Faster Development for Deno

In other dev news: Learn React in the most hilarious way, Nuxt update increases stability, and the HTMHell Advent Calendar seeks submissions.
React
fromLogRocket Blog
1 month ago

Building real-time state management with React and Fluent-State - LogRocket Blog

Use a reactive, immutable state pattern like Fluent-state to manage streaming AI chat UI, optimistic updates, and complex loading states without tangled hooks.
fromkrasimirtsonev.com
2 months ago

React Server Components support without a framework

When I started researching, I found that there are solutions outside of Next.js, but they were either incomplete or tied to specific tools like Vite or esbuild. The more I dug, the more I realized that what we really have is a pattern without a proper implementation. It reminded me of Flux back in the day-a pattern that introduced new ideas but lacked clear direction on how those ideas should fit into existing applications.
React
[ Load more ]