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
feat: add react-server bundle #11162
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
6ad0cb5
to
e0e959a
Compare
Size Change: 0 B Total Size: 20.2 kB ℹ️ View Unchanged
|
@bluebill1049 |
Do you want to merge this? |
I want to merge this! |
Has this been released yet? If so, which version? |
@joakim-roos I think you want to be watching this PR: #11061 |
I'm experiencing issues caused by the |
Related Issues
Changes Made
Server Actions are executed within the react-server context, which can lead to errors when importing react-hook-form within Server Actions.
This results in errors even when using only react-hook-form logic in Server Actions.
This PR aims to enable the use of react-hook-form's logic and utilities within the react-server context. This is achieved by adding react-server through conditional exports.
Once this is merged, it will also make my previously created PR react-hook-form/resolvers#636 for @hookform/resolvers unnecessary.