SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Notify FragmentInstance of added/removed text (#35637)

Follow up to https://github.com/facebook/react/pull/35630

We don't currently have any operations that depend on the updating of
text nodes added or removed after Fragment mount. But for the sake of
completeness and extending the ability to any other host configs, this
change calls `commitNewChildToFragmentInstance` and
`deleteChildFromFragmentInstance` on HostText fibers.

Both DOM and Fabric configs early return because we cannot attach event
listeners or observers to text. In the future, there could be some
stateful Fragment feature that uses text that could extend this.
J
Jack Pope committed
78f5c504b732aec0eb12514bc2cf3f27a8143dd2
Parent: e49335e
Committed by GitHub <noreply@github.com> on 2/11/2026, 2:26:22 PM