ReactJsNews – Telegram
ReactJsNews
76 subscribers
940 links
The latest React news directly in your Telegram
Download Telegram
📜 Concurrent Optimistic Updates in React Query: Dominik shares interesting patterns to avoid displaying an inconsistent UI when using React Query with concurrent mutations and optimistic updates. Tip: only call invalidateQueries() when there’s a single in-flight mutation.
👍2
📜 Parents & Owners in React: Context Providers: Explains the difference between parent and owner components. By restructuring the owner tree without changing the parent tree, we create more targeted “units of update”.
👍1🔥1
📜 From Next.js to Astro: A Page Size Comparison: A quite fair numbers comparison after porting a small static Next.js site to Astro, reducing bundle size.
👍1
📦 Radix UI 1.3 - OneTimePasswordField: In case you missed it (we did!), there’s now a radix-ui package to consolidate all Radix primitives under a single roof (instead of @radix-ui/* imports). It’s likely that shadcn/ui will adopt it and provide a codemod in the future.
👍1
📦 Storybook 9 beta: The new version is now feature complete, with a good focus on testing (components, interaction, accessibility, visual tests). The tag-based organization should help improve UX. Also includes first-class support for React Native Web.
👍1
👀 Asynchronous Svelte: Svelte has a new async experimental mode, and this doc explains how it works. The “Forks” section reminds a bit of Concurrent React, transitions, and its upcoming <Activity> component.
👀 Firefox enabling View Transitions in Firefox 139 Nightly builds: A positive signal from the only remaining browser to not have this feature. Good timing for React and its upcoming <ViewTransition> component?
📜 Giving V8 a Heads-Up: Faster JavaScript Startup with Explicit Compile Hints: A new feature coming with Chrome 136 allows faster web page loading by annotating your files/functions with magic comments to tell V8 to compile the JS code eagerly, showing promising results on experiments. Maybe it will be useful to speed up React hydration or even Node.js programs?