mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Updates `PruneNonEscapingScopes` to consider hook arguments as potentially escaping. This is because hook inputs are "owned" by React — for example, closures passed to `useEffect`, or a value that is passed to a custom hook and which then becomes a memoized input.