jaredpalmer / formik

Build forms in React, without the tears 😭
https://formik.org
Apache License 2.0
33.73k stars 2.77k forks source link

refactor: react 18 internal upgrade #3817

Closed quantizor closed 1 year ago

quantizor commented 1 year ago

useReducer().dispatch appears to be async now where it used to be synchronous, leading to many broken tests. I have replaced usage of it with equivalent synchronous code.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: f9ba4319902793634aa4a2443d24b0ffca4d06fe

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[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **formik-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/formik/formik-docs/RSXbQivChmgaKf14utsm3Fr6zbDu)) | [Visit Preview](https://formik-docs-git-react-18-formik.vercel.app) | | Jun 2, 2023 9:51pm |
codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f9ba4319902793634aa4a2443d24b0ffca4d06fe:

Sandbox Source
Formik TypeScript Playground Configuration
github-actions[bot] commented 1 year ago

Size Change: +134 B (0%)

Total Size: 40.5 kB

Filename Size Change
packages/formik/dist/formik.cjs.development.js 16.2 kB +57 B (0%)
packages/formik/dist/formik.cjs.production.min.js 7.06 kB +22 B (0%)
packages/formik/dist/formik.esm.js 16.1 kB +55 B (0%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `packages/formik-native/dist/formik-native.cjs.development.js` | 306 B | | `packages/formik-native/dist/formik-native.cjs.production.min.js` | 242 B | | `packages/formik-native/dist/formik-native.esm.js` | 238 B | | `packages/formik-native/dist/index.js` | 150 B | | `packages/formik/dist/index.js` | 143 B |

compressed-size-action

litinskii commented 5 months ago
image

start got ts error after this update on 2.4.1 this not happend