[flags] Cleanup enableActivity (#36603)

This commit is contained in:
Sebastian "Sebbie" Silbermann
2026-06-03 12:00:26 +02:00
committed by GitHub
parent 9a6a31db6b
commit 3f6785f59e
3 changed files with 0 additions and 5 deletions
@@ -1527,7 +1527,6 @@ describe('Activity', () => {
expect(root).toMatchRenderedOutput(<span prop={2} />);
});
// @gate enableActivity
it('getSnapshotBeforeUpdate does not run in hidden trees', async () => {
let setState;
@@ -1607,7 +1606,6 @@ describe('Activity', () => {
]);
});
// @gate enableActivity
it('warns if you pass a hidden prop', async () => {
function App() {
return (
@@ -1266,7 +1266,6 @@ describe('useEffectEvent', () => {
assertLog(['ContextReader (Effect event): second']);
});
// @gate enableActivity
it('effect events are fresh inside Activity', async () => {
function Child({value}) {
const getValue = useEffectEvent(() => {
-2
View File
@@ -81,8 +81,6 @@ function getTestFlags() {
fb: www || xplat,
// These aren't flags, just a useful aliases for tests.
// TODO: Clean this up.
enableActivity: true,
enableSuspenseList: releaseChannel === 'experimental' || www || xplat,
enableLegacyHidden: www,
// TODO: Suspending the work loop during the render phase is currently