Skip to content

[DevTools] Disable Activity slices by default#35685

Merged
eps1lon merged 2 commits intofacebook:mainfrom
eps1lon:sebbie/02-03-_devtools_disable_activity_slices_by_default
Feb 4, 2026
Merged

[DevTools] Disable Activity slices by default#35685
eps1lon merged 2 commits intofacebook:mainfrom
eps1lon:sebbie/02-03-_devtools_disable_activity_slices_by_default

Conversation

@eps1lon
Copy link
Collaborator

@eps1lon eps1lon commented Feb 3, 2026

This feature needs some more work before it's ready to be released. Should've been flagged from the start.

Flag is turned on for local development.

@meta-cla meta-cla bot added the CLA Signed label Feb 3, 2026
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Feb 3, 2026
* It should always be imported from "react-devtools-feature-flags".
************************************************************************/

export const enableActivitySlices: boolean = __DEV__;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__DEV__ is resolved at build time of the DevTools target. It's not the same thing as __DEV__ in the React runtime.

@eps1lon eps1lon requested a review from hoxyq February 3, 2026 17:36
@eps1lon eps1lon marked this pull request as ready for review February 3, 2026 17:36
@juoboinshurima543-sys

This comment was marked as spam.

@aydenhailey78-hub

This comment was marked as spam.

@djhdusjbd-eng

This comment was marked as spam.

@eps1lon eps1lon merged commit c9ff56e into facebook:main Feb 4, 2026
237 checks passed
@eps1lon eps1lon deleted the sebbie/02-03-_devtools_disable_activity_slices_by_default branch February 4, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants