useSignUp()
The useSignUp() hook provides access to the SignUpFuture object, which allows you to check the current state of a sign-up attempt and manage the sign-up flow. You can use this to create a .
Returns
| Name | Type | Description |
| ------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| errors | SignUpErrors | The errors that occurred during the last fetch of the underlying SignUpFuture resource. |
| fetchStatus | "idle" | "fetching" | The fetch status of the underlying SignUpFuture resource. |
| signUp | SignUpFutureResource | The underlying SignUpFuture resource. |
Examples
For example usage of the useSignUp() hook, see the Build your own UI guides.
Feedback
Last updated on