DEV Community

Cover image for This Week In React #287: Fragment ref, React Compiler, StyleX | Reanimated, Widgets, VisionCamera | Vite, Astro, TypeScript, Nub, Security
Sebastien Lorber
Sebastien Lorber

Posted on • Originally published at thisweekinreact.com

This Week In React #287: Fragment ref, React Compiler, StyleX | Reanimated, Widgets, VisionCamera | Vite, Astro, TypeScript, Nub, Security

Hi everyone, Seb and Jan here πŸ‘‹!

This week, we're shining a spotlight on the upcoming React Fragment ref feature. We also have React Compiler updates, StyleX community discussions and a boring React Router release.

On the React Native side, Renimated gets CSS pseudo-selector support and widget libraries gain momentum. VisionCamera unlocks new real-time processing capabilities with impressive demos.

Let's dive in!


πŸ’‘ Subscribe to the official newsletter to receive an email every week!

banner


πŸ’Έ Sponsor

React Native Devs Are Sleeping onβ€―TVβ€―

React Native Devs Are Sleeping onβ€―TVβ€―

You’veβ€―optimizedβ€―for mobile. Maybeβ€―tablet. Butβ€―the big screenβ€―might feelβ€―intimidating. Amazon Devices Builder Tools (ADBT)β€―for AIβ€―gives your agent (Claude, Cursor, Kiro) Fire TV contextβ€―forβ€―onboarding, performance debugging, and crash analysis,β€―so you can resolve blockers andβ€―shipβ€―appsβ€―forβ€―Fire TV faster.


βš›οΈ React

React Docs -  raw `<Fragment ref>` endraw

React Docs - <Fragment ref>

In an upcoming version of React, the ref prop will expose a new FragmentInstance type that lets you interact with the fragment first-level children, unlocking new composition patterns. This exciting feature has just been documented more exhaustively, including 5 example use cases to get inspired from.

This feature is already available in canary, has gone through extensive testing in production, and is likely scheduled for React v19.3.

Note that React Native will also get a similar feature (draft docs PR). I don’t know if React / React Native will have full feature parity, but it’s clear that this will enable cross-platform usage on at least a subset of these APIs.



πŸ’Έ Sponsor

Ship AI generated code safely with Meticulous.

Ship AI generated code safely with Meticulous.

Claude writes your code. Claude reviews your code. Claude fixes the review comments. And somehow, you're the one getting paged at 2am when it breaks in prod.

Fortunately, top AI-driven teams like Dropbox, Notion, LaunchDarkly, and Wiz rely on Meticulous to run 1000s of e2e UI tests autonomously, covering every user flow, edge case, role and permutation. Built by ex-Palantir engineers, Meticulous gives you near-exhaustive coverage in weeks, without any developer effort.Β 

It works like magic in the background:

  • Near-exhaustive coverage on every test run
  • No test creation
  • No maintenance (seriously)
  • Zero flakes (built on a deterministic browser)

Check it out - and see why one engineering leader at Dropbox said that β€œonce we started using Meticulous, we couldn’t imagine working without it.”


πŸ“± React-Native


πŸ”€ Other


🀭 Fun

alt

alt

See ya! πŸ‘‹

Top comments (0)