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

Use createClientModuleProxy from Flight Server #54232

Merged
merged 2 commits into from Aug 18, 2023
Merged

Use createClientModuleProxy from Flight Server #54232

merged 2 commits into from Aug 18, 2023

Conversation

shuding
Copy link
Member

@shuding shuding commented Aug 18, 2023

This PR removes our client module reference proxy implementation to directly use the one from the upstream Flight server, as it's added here: facebook/react#27033.

Also updated the server reference creation code a bit to use defineProperties - we can't switch to the upstream registerServerReference API yet as our Server Actions compiler needs to change a bit to adapt that API since we might have existing bound and/or originalAction provided.

huozhi
huozhi previously approved these changes Aug 18, 2023
@kodiakhq kodiakhq bot merged commit b906fdf into canary Aug 18, 2023
49 of 52 checks passed
@kodiakhq kodiakhq bot deleted the shu/df79 branch August 18, 2023 15:31
@github-actions github-actions bot added the locked label Sep 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants