Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rcr] Reexport React.__COMPILER_RUNTIME.c or fallback to polyfill #31051

Closed
wants to merge 10 commits into from

Conversation

[ghstack-poisoned]
Copy link

vercel bot commented Sep 24, 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 Oct 2, 2024 6:54pm

[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@poteto poteto changed the title [rcr] Reexport React.c or fallback to polyfill [rcr] Reexport React.__COMPILER_RUNTIME.c or fallback to polyfill Oct 1, 2024
[ghstack-poisoned]
@poteto poteto marked this pull request as ready for review October 1, 2024 18:27
[ghstack-poisoned]
// This symbol is added to tell the react devtools that this array is from
// useMemoCache.
// @ts-ignore
$[$empty] = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

should we put this in __DEV__? not sure if this affects the JIT by changing the hidden class or not

Copy link
Member Author

Choose a reason for hiding this comment

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

hmm probably wouldn't hurt but im not sure if this gets called enough for hidden classes to kick in?

[ghstack-poisoned]
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