Skip to content

Conversation

yungsters
Copy link
Contributor

Summary:
Creates a new feature flag to experiment with Activity in VirtualView.

The feature flag enables the following treatments:

  • no-activity is the same as what we currently do — no Activity and we render null for hidden elements.
  • activity-without-mode wraps the children in Activity but does not set mode and still renders null for hidden elements.
  • activity-with-hidden-mode wraps the children in Activity and sets mode="hidden" and continues providing children (not null) for hidden elements.

Changelog:
[Internal]

Reviewed By: rickhanlonii

Differential Revision: D81149561

Summary:
Creates a new feature flag to experiment with `Activity` in `VirtualView`.

The feature flag enables the following treatments:

- `no-activity` is the same as what we currently do — no `Activity` and we render `null` for hidden elements.
- `activity-without-mode` wraps the children in `Activity` but does not set `mode` and still renders `null` for hidden elements.
- `activity-with-hidden-mode` wraps the children in `Activity` and sets `mode="hidden"` and continues providing `children` (not `null`) for hidden elements.

Changelog:
[Internal]

Reviewed By: rickhanlonii

Differential Revision: D81149561
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 27, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D81149561

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 72158fc.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @yungsters in 72158fc

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants