Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Rewrite forms to react-hook-form #18

Open
fujiwaracj opened this issue Feb 7, 2024 · 1 comment
Open

Rewrite forms to react-hook-form #18

fujiwaracj opened this issue Feb 7, 2024 · 1 comment
Assignees
Milestone

Comments

@fujiwaracj
Copy link
Owner

There is an ongoing discussion on a pr on how server actions and react-hook-form will be implemented in the next version of the library, as of now this hasn't been merged and is still in a draft state.

For now, startTransition and instantiation of a FormData class can be used so that the required formData can be passed through a server action. Not that great since it doesn't validate if the form submission was successful or not but at least it's working and development can still be resumed.

Referenced PR:
react-hook-form/react-hook-form#11061

@fujiwaracj fujiwaracj self-assigned this Feb 12, 2024
@fujiwaracj fujiwaracj added this to the Backlogs milestone Feb 12, 2024
@fujiwaracj
Copy link
Owner Author

Setting this to backlogs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant