Skip to content

Conversation

@sebmarkbage
Copy link
Collaborator

I'm pretty sure this is completely unnecessary even in www and RN because it's only useful if you use the mock scheduler which typically only we do in our own tests. But all our tests pass so unless www/RN does something with it, I don't think this is used.

Also remove unnecessary __DEV__ check. If it gets pulled in prod, we'd want to know about it.

@sebmarkbage sebmarkbage requested review from eps1lon and hoxyq July 10, 2024 22:33
@vercel
Copy link

vercel bot commented Jul 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 10:35pm

if (__DEV__) {
suppressWarning = newSuppressWarning;
}
// TODO: Noop. Delete.
Copy link
Member

Choose a reason for hiding this comment

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

Can we fully delete this?

Copy link
Member

Choose a reason for hiding this comment

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

I see, a dependency on #30311

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think we can fully delete it but someone needs to confirm in www/fb-rn

@sebmarkbage sebmarkbage merged commit 85acf2d into facebook:main Jul 11, 2024
github-actions bot pushed a commit that referenced this pull request Jul 11, 2024
I'm pretty sure this is completely unnecessary even in www and RN
because it's only useful if you use the mock scheduler which typically
only we do in our own tests. But all our tests pass so unless www/RN
does something with it, I don't think this is used.

Also remove unnecessary `__DEV__` check. If it gets pulled in prod, we'd
want to know about it.

DiffTrain build for [85acf2d](85acf2d)
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.

3 participants