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

Expose useFormContext #601

Closed
wants to merge 1 commit into from
Closed

Conversation

UrbanChrisy
Copy link

Exposes the form context via the already made hook.

Stop prop drilling the formAPI down the tree.

@crutchcorn
Copy link
Member

We're removing FormContext via this PR:

#588

Apologies for not communicating this more

@crutchcorn crutchcorn closed this Feb 16, 2024
@UrbanChrisy UrbanChrisy deleted the patch-1 branch February 18, 2024 07:51
@UrbanChrisy
Copy link
Author

@crutchcorn How would you nest a field in another component within the form?

Or is the idea to force you to pass it down so it's all typesafe?

@xmsz-stu
Copy link

xmsz-stu commented Nov 6, 2024

+1

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

Successfully merging this pull request may close these issues.

3 participants