Skip to content

[Flight] Prevent non-Server imports of aliased Server entrypoints#20422

Merged
gaearon merged 3 commits intofacebook:masterfrom
gaearon:check-redirects
Dec 10, 2020
Merged

[Flight] Prevent non-Server imports of aliased Server entrypoints#20422
gaearon merged 3 commits intofacebook:masterfrom
gaearon:check-redirects

Conversation

@gaearon
Copy link
Collaborator

@gaearon gaearon commented Dec 10, 2020

Now that the Shared entrypoint for React doesn't have the suffix, we can enforce that aliased Server entrypoints are only imported from the Server. I kept the request in the message, but when there is an alias, I also add a clarification for which expansion triggered it. Verified they work manually.

Loading
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.

4 participants