[Fiber] only remove properties from singletons on release (#37112)
Removing attributes does not actually reset all property state on the singleton instance. It also has the side effect of wiping any 3rd party set attributes and properties that 3rd party scripts and extensions. Reimplements the singleton release to clear properties on the instance based on the last committed props for the singleton fiber. Notably there is an unfixed path with preamble contribution markers that still just clears based on attributes which covers SSR'd attributes that need to be wiped before client recovery on hydration can continue. There are gated failing tests for this as a TODO.
J
Josh Story committed
b685b40d870b90a975da28c8d22ecf0ba910b1a1
Parent: 28cd4bb
Committed by GitHub <noreply@github.com>
on 7/24/2026, 9:38:07 PM