React: Fragment Refs Get Text Node Superpowers

The React team shipped major improvements to Fragment refs with full text node support, making fragments much more capable when working with mixed content. Jack Pope led the charge with comprehensive text node operations, while the team also enhanced Trusted Types integration and improved developer tooling across the board.

Duration: PT4M16S

Episode overview

This episode is a short developer briefing from React Daily.

It explains recent repository work in plain language.

  • Show: React Daily
  • Published: 2026-01-29T11:12:49Z
  • Audio duration: PT4M16S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hey React developers! Welcome back to another episode of the React podcast. I'm your host, and wow, do we have some exciting updates to dive into today. Grab your favorite beverage because we're talking about some really cool advances that are going to make your React apps more powerful and your development…

Let's jump right into the star of today's show - Fragment refs just got a massive upgrade thanks to some incredible work by Jack Pope. If you've ever worked with fragments that contain text nodes, you know it's been a bit of a pain point. Well, not anymore!

Jack shipped not one, but two substantial pull requests that completely transform how fragments handle text nodes. The main PR adds text node support to FragmentInstance operations, which is a fancy way of saying your fragment refs can now properly work with fragments that mix text and elements, or even text-only…

Here's what's really cool about this - the implementation is super thoughtful. For operations like dispatching events, comparing document positions, and getting the root node, the system works through the parent element. But for things like getting client rects and scrolling into view, it uses the Range API to work…

T…

Nearby episodes from React Daily

  1. React: Debugging Stream Sync Fix
  2. React: DevTools Detective Story - Fixing the Broken Commit Tree Builder
  3. React: Compiler Fixes and Flight Context Revolution
  4. React: Compiler Gets Location-Aware
  5. React: Testing Infrastructure Spring Cleaning
  6. Spring Cleaning the Feature Flags
  7. Performance Boosts and Developer Experience Wins
  8. Small Fixes, Big Impact