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

Add undefined exports for potentially missing React internals. #10

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

phryneas
Copy link
Owner

@phryneas phryneas commented Apr 22, 2024

We don't want bundlers to error when they encounter usage of any of these exports.
It's up to the package author to ensure that if they access React internals,
they do so in a safe way that won't break if React changes how they use these internals.
(e.g. only access them in development, and only in an optional way that won't
break if internals are not there or do not have the expected structure).

@phryneas
Copy link
Owner Author

Published to npm as 0.0.0-pr.10.0

@phryneas phryneas merged commit 1150f7e into main Apr 23, 2024
@phryneas phryneas deleted the pr/undefined-internals branch April 23, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant