core
core copied to clipboard
feat(KeepAlive): pause deactivated components with freeze prop
Fixes #5386
As described in the issue, when a component is deactivated, the effects of that component will still be running. In the same way the defer attribute was added to Teleport to keep backwards-compat, a freeze prop has been added here, so users can opt-in to this new behavior.
Requires #13303 so there's a walkable tree of effect scopes when pausing/resuming, hence a draft PR. Tests and docs will be created once that PR is merged.