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

Add missing hooks #2921

Merged
merged 1 commit into from
Nov 19, 2020
Merged

Add missing hooks #2921

merged 1 commit into from
Nov 19, 2020

Conversation

jaredpalmer
Copy link
Owner

Add additional hooks to replace useFormikContext

  • useSetValue
  • useSetErrors
  • useSetTouched
  • useSetStatus
  • useSubmitForm
  • useResetForm
  • useIsSubmitting
  • useIsValid
  • useIsDirty
  • useValidateForm
  • useValidateField

@changeset-bot
Copy link

changeset-bot bot commented Nov 19, 2020

🦋 Changeset detected

Latest commit: 90fd693

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
formik Patch
formik-native Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Nov 19, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/formium/formik/pgozdaoxx
✅ Preview: https://formik-git-more-hooks.formium.vercel.app

@jaredpalmer jaredpalmer merged commit e4eb06a into next Nov 19, 2020
@jaredpalmer jaredpalmer deleted the more-hooks branch November 19, 2020 16:33
@github-actions
Copy link
Contributor

Size Change: +769 B (1%)

Total Size: 43.3 kB

Filename Size Change
packages/formik/dist/formik.cjs.development.js 17.4 kB +356 B (2%)
packages/formik/dist/formik.cjs.production.min.js 7.66 kB +119 B (1%)
packages/formik/dist/formik.esm.js 17.1 kB +294 B (1%)
ℹ️ View Unchanged
Filename Size Change
packages/formik-native/dist/formik-native.cjs.development.js 306 B 0 B
packages/formik-native/dist/formik-native.cjs.production.min.js 242 B 0 B
packages/formik-native/dist/formik-native.esm.js 238 B 0 B
packages/formik-native/dist/index.js 150 B 0 B
packages/formik/dist/index.js 143 B 0 B

compressed-size-action

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.

None yet

1 participant