chore(deps): update npm
This MR contains the following updates:
Release Notes
babel/babel
v7.22.1
🐛 Bug Fix
-
babel-preset-env
- #15658 Workaround for broken babel-preset-react-app (@nicolo-ribaudo)
v7.22.0
🚀 New Feature
-
babel-parser
,babel-plugin-transform-typescript
-
#15497 [ts] Support
import ... =
andexport =
in scripts (@nicolo-ribaudo)
-
#15497 [ts] Support
-
babel-compat-data
,babel-core
,babel-plugin-proposal-unicode-sets-regex
,babel-plugin-transform-unicode-sets-regex
,babel-preset-env
,babel-standalone
-
babel-helpers
,babel-plugin-proposal-explicit-resource-management
,babel-plugin-transform-runtime
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
,babel-standalone
-
#15633 Implement transform support for
using
declarations (@nicolo-ribaudo)
-
#15633 Implement transform support for
-
babel-plugin-proposal-import-attributes-to-assertions
-
#15620 Create
@babel/plugin-proposal-import-attributes-to-assertions
(@nicolo-ribaudo)
-
#15620 Create
-
babel-core
,babel-generator
,babel-parser
,babel-plugin-syntax-import-attributes
,babel-preset-env
,babel-standalone
,babel-types
- #15536 Add support for the updated import attributes proposal (@nicolo-ribaudo)
-
babel-generator
,babel-parser
,babel-traverse
,babel-types
-
babel-core
,babel-helper-create-regexp-features-plugin
,babel-parser
-
babel-helpers
,babel-plugin-proposal-decorators
,babel-plugin-syntax-decorators
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
-
#15570 Add decorators version
2023-05
(@nicolo-ribaudo)
-
#15570 Add decorators version
💅 Polish
-
babel-plugin-transform-react-constant-elements
,babel-plugin-transform-react-jsx
,babel-traverse
,babel-types
- #15549 Improve type definitions for validators (@liuxingbaoyu)
🏠 Internal
-
babel-parser
- #15630 Unify parsing of import/export modifiers (type/typeof/module) (@nicolo-ribaudo)
-
babel-compat-data
,babel-helper-transform-fixture-test-runner
,babel-node
,babel-plugin-proposal-decorators
,babel-plugin-proposal-duplicate-named-capturing-groups-regex
,babel-plugin-transform-async-generator-functions
,babel-plugin-transform-named-capturing-groups-regex
,babel-plugin-transform-runtime
,babel-preset-env
,babel-runtime-corejs3
-
#15531 Allow polyfill providers to specify custom
@babel/runtime
pkg (@nicolo-ribaudo)
-
#15531 Allow polyfill providers to specify custom
-
babel-core
,babel-plugin-proposal-async-generator-functions
,babel-plugin-proposal-class-properties
,babel-plugin-proposal-class-static-block
,babel-plugin-proposal-decorators
,babel-plugin-proposal-dynamic-import
,babel-plugin-proposal-export-namespace-from
,babel-plugin-proposal-function-sent
,babel-plugin-proposal-json-strings
,babel-plugin-proposal-logical-assignment-operators
,babel-plugin-proposal-nullish-coalescing-operator
,babel-plugin-proposal-numeric-separator
,babel-plugin-proposal-object-rest-spread
,babel-plugin-proposal-optional-catch-binding
,babel-plugin-proposal-optional-chaining
,babel-plugin-proposal-pipeline-operator
,babel-plugin-proposal-private-methods
,babel-plugin-proposal-private-property-in-object
,babel-plugin-proposal-unicode-property-regex
,babel-preset-env
,babel-standalone
-
#15614 Rename
-proposal-
s that became standard to-transform-
(@nicolo-ribaudo)
-
#15614 Rename
mui/material-ui (@mui/material)
v5.13.2
May 22, 2023
A big thanks to the 12 contributors who made this release possible.
`@mui/material@5.13.2
- [Slider] Tooltip positioning fixed for vertical slider (#37049) @PunitSoniME
Docs
- [docs][base] Remove default annotations from useTabsList return type (#37324) @TinaSay
- [docs][base] Remove default annotations from useTabPanel return type (#37323) @TinaSay
- [docs][base] Remove default annotations from useSwitch return type (#37322) @TinaSay
- [docs][base] Remove default annotations from useInput return type (#37321) @TinaSay
- [docs][base] Remove default annotations from useAutocomplete return type (#37320) @TinaSay
- [docs][base] Remove default annotations from useBadge's return type (#37313) @TinaSay
- [docs][base] Remove default annotations from useButton's return type (#37312) @TinaSay
- [docs][base] Remove default annotations from useSlider's return type (#37309) @TinaSay
- [docs] Remove Material UI's "Languages" page (#37314) @danilo-leal
- [docs] Prefer to link GitHub repository @oliviertassinari
- [docs] Move product versions to page context (#35078) @m4theushw
- [docs] Fix v5 migration npm install instruction (#37293) @oliviertassinari
- [docs][Tab] Add vertical tabs demo (#37292) @sai6855
- [docs][Transitions] Fix typo in code sample (#37300) @alexfauquette
- [examples] Remove
@babel/plugin-proposal-class-properties
from Material-Express-SSR example (#37305) @ZeeshanTamboli - [Website] Add Brijesh to About page (#37318) @brijeshb42
- [website] Update pricing table (#37290) @cherniavskii
- [website] Update core open roles (#37224) @mnajdova
Core
- Revert "[core] Remove outdated babel proposal plugins (#36795)" (#37331) @michaldudak
- [core] Move esmExternals to the shared next config (#37332) @michaldudak
All contributors of this release in alphabetical order: @alexfauquette, @brijeshb42, @cherniavskii, @danilo-leal, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @sai6855, @TinaSay, @ZeeshanTamboli
storybookjs/storybook
v7.0.18
Bug Fixes
- Vue3: Fix TS 5.0 compat with vue-component-type-helpers #22814
- Vue3: Fix reactive args updates in decorators #22717
- Vue3: Revert v7 breaking change, restore reactive v6-compat API #22692
Build
- Build: Add more checks to ci:daily workflow #22815
- Build: Fix Nextjs E2E tests #22816
- Build: Bring back new Vue3 tests to main #22685
v7.0.17
Bug Fixes
- Vite: Fix pnpm support by replacing @storybook/global with
window
#22709 - Core: Fix
managerHead
preset inmain.ts
#22701
v7.0.16
Accidental no-op
v7.0.15
Bug Fixes
- UI: Fix
.mp3
support for builder-manager #22699 - Vite: Fix missing @storybook/global dependency #22700
- NextJS: Fix compatibility with Next 13.4.3 #22697
v7.0.14
Bug Fixes
- Core: Only connect to serverChannel in development mode #22575
- CLI: Fix error parsing on NPM proxy #22690
Maintenance
- Core: Create server channel from window.location #22055
v7.0.13
Bug Fixes
- Angular: Fix process I/O for compodoc command #22441
- CLI: Improve error handling when dealing with angular.json files #22663
- CLI: Skip prompting for eslint plugin with --yes flag #22651
- CLI: Account for windows paths when copying templates #22644
- CLI: Fix pnpm init command #22635
- UI: Add legacy font formats #22576
- Webpack: Remove the alias for
global
#22393
Maintenance
- Angular: Enable unit tests #22355
- CLI: Reduce installation noise and improve error handling #22554
- CLI: Only handle CTRL + C on init event #22687
- CLI: Don't touch nx packages on upgrade #22419
Build
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
v5.59.7
Note: Version bump only for package @typescript-eslint/eslint-plugin
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
v5.59.7
Note: Version bump only for package @typescript-eslint/parser
vercel/next.js
v13.4.4
Core Changes
- test(turbopack): script to sync latest test lists: #50008
- Pages Module Transition: #49962
- Server Actions: Fix member expr in closure captured values: #50020
- Error in next export when serverActions is enabled: #50039
- [turbopack]: Update renamed SubpathValue: #49636
- Fix default metadata is missing in root not-found: #50044
- Always defer close tags to be the suffix of body stream: #50056
- Fix types of cookies(): #50052
- Fix client references extraction of CJS exports analysis: #50059
- Add
x-forwarded-*
headers to turbopack renders: #50012 - Remove node-sass from peerDependencies: #50065
- Add optional generic parameter to NextResponse: #47526
- feat(turbopack): initial sass-loader support: #49882
- update test snapshots: #50159
- [create-next-app]: respecting the user's
init.defaultBranch
git con…: #49960 - Update
swc_core
tov0.76.18
: #50137 - Fix navigating on not-found: #50047
- Fix env variables set in next.config.js: #50179
- Add warning for edge with force-static: #50182
- fix: add missing
draftMode
type to GetServerSidePropsContext: #50184 - Fix react fetch deduping without next cache: #50187
- Fix pages react alias: #50128
- Add the
node
condition to import resolution: #50007 - test(turbopack): run next.js integration tests with denylist: #50172
- Move debugging variable into useEffect: #50210
- refactor webpack loaders: #49535
- Fix static workers distributing: #50194
- Ensure NEXT_DYNAMIC_NO_SSR_CODE has a unique name: #50219
- fix: Added blockfrost-js, lucid-cardano & mongoose package to srvExtPackages to prevent issue #49783 from happening.: #49938
- change static path to /_next/static/media: #50207
- Add special route types to the link type declaration: #50066
- fix: NODE_OPTIONS='--inspect' in next dev for debugging: #48019
- enable more test cases for turbopack: #50154
- feat(next-swc): Implement CJS optimizer: #49972
- Fix alias for react-dom/server: #50238
- Revert "feat(next-swc): Implement CJS optimizer": #50247
- Fix free port handling: #50248
- feat(next-swc): Add CJS optimizer again: #50249
- Fix edge case in the CJS optimizer: #50258
- Remove static analysis of
process.env
: #50260 - Update next start listening to behave consistently: #50293
- Update server invoke-request: #50296
- Update unstable_cache key to include args: #50301
- Add root detection utils: #50305
- fix sass handling after refactoring: #50259
- Alias next/server for edge runtime: #50268
- [turbopack]: Serve
_devMiddlewareManifest.json
from router: #50241 - Fix catch-all edge app route: #50313
- land: Include charset=utf-8 with x-component Content-Type header: #50314
- do not apply sass loader on existing loaders: #50308
- Add missing react-dom/client alias: #50324
- Fix missing error when using Actions on the client layer without enabling the feature flag: #50257
- remove allowlist, only use denylist, enable newly passing tests: #50325
- Fix SWC loader options for files outside of RSC layers: #50341
Documentation Changes
- Update app-static-to-dynamic-error.md: #50085
- Update invalid-new-link-with-extra-anchor.md: #50036
Example Changes
- fix: use node copyFile for cross-platform support: #48740
- Clerk example updates: #50021
- Fix TypeScript error in with-mongodb example: #50094
- Use correct casing in filenames: #50223
Misc Changes
- test: disable cache flaky test: #50064
- add tracing for turbopack: #49920
- ci: update github token: #50216
- Fix metadata e2e deploy test: #50252
- Fix middleware e2e deploy test: #50317
- Parallelize Turbopack CI tests: #50292
- makeDir should use func: #50136
Credits
Huge thanks to @kwonoj, @wyattjoh, @shuding, @huozhi, @jridgewell, @ijjk, @karlhorky, @lycuid, @MarkAtOmniux, @darshkpatel, @johnta0, @kdy1, @sokra, @timneutkens, @devagrawal09, @ibrahemid, @styfle, @JesseKoldewijn, @padmaia, @Cow258, @javivelasco, and @05lazy for helping!
v13.4.3
Core Changes
- Optimize trace span relationships: #49697
- refactor(next-core): deprecate custom_ecmascript_transforms: #49629
- Remove old-space-size filtering from dev server: #49727
- Rework client router filter handling: #49741
- fix(image): preload should respect referrerPolicy: #49584
- Fix cookies().set missing in types: #49806
- fix: Disable
tracing/release_max_level_off
for wasm, too: #49639 - Apply user-defined PostCSS transforms to foreign code: #49463
- add @swc/core to server external packages: #49721
-
turbo-binding
->turbopack-binding
: #49816 - refactor(next-core): consolidate react_refresh options: #49822
- add support for globally providing mdx components to turbopack: #49818
- Refactor pages structure: #49802
- Fix conflict when re-exporting multiple Client References: #49468
- refactor(next-core): move transforms to plugin: #49621
- Fix chained
.bind
of Server Actions: #49874 - Fix port value for metadataBase: #49924
- Introduce NextMode: #49852
- Port sorted-routes.ts to Rust: #48334
- Move build workers count change behind flag: #49937
- Update default for appDocumentPreloading config for minimalMode: #49952
- Add @vercel/og to external server packages: #49944
- Fix custom server React resolution with app dir and pages both presented: #49805
- Error in
next export
whenserverActions
is enabled: #49959 - Reset not-found and error boundary when navigating: #49855
- Revert "Error in
next export
whenserverActions
is enabled": #50019 - fix: warning fetch for
[object Request]
specified: #50003 - Remove custom handling for prebundled react env: #49954
- fix: set cookies followed by
redirect()
: #49965
Example Changes
- chore: update examples to use draft mode: #49720
- Add mdx page example to examples/app-dir-mdx: #47082
- Update with-supertokens example: #49804
- with-clerk example updated to app router: #49717
- Upgrading react-ga to react-ga4: #48932
- update with-turbopack example: #49332
Misc Changes
- Add trace-to-jaeger to workspace: #49692
- refactor(scripts): apply fmt: #49716
- refactor(scripts): fix clippy errors: #49719
- chore(turbopack): Update
swc_core
tov0.76.6
: #49792 - Fix going back to page after applying hash link: #50006
- build(cargo): update turbopack: #50013
- Suggest a replay in the bug issue template: #50022
Credits
Huge thanks to @timneutkens, @kwonoj, @styfle, @ijjk, @alexanderbluhm, @Fonger, @shuding, @kdy1, @alexkirsz, @souporserious, @ForsakenHarmony, @rishabhpoddar, @devagrawal09, @DevEsteves, @huozhi, and @padmaia for helping!
v13.4.2
Core Changes
- make sure server component externals only apply to files resolvable by node: #49147
- Fix link not being GC'd sometimes: #49318
- Fix issue where nextP is not replaced in searchParams: #49315
- Add typescript version to next-info: #49346
- Upgrade React to 18.3.0-canary-16d053d59-20230506: #49402
- Remove empty config warning: #49435
- app-router: add startTransition call to revalidate dispatcher: #49453
- Inline static data buffer instead of using fs read: #49323
- Revert "Temporarily disable app dir export integration test": #49311
- Add link to Server Actions docs.: #49384
- Replace metadata clone with custom handler in dev: #49343
- Add request-async-storage to the shared layer: #49470
- Fix revalidate: false detection in app: #49473
- Fix metadata image route encoding: #49482
- Fix actions redirect handling: #49483
- Restrict
useOptimistic
anduseFormStatus
APIs on the server layer: #49331 - Fix external rewrite with body: #49487
- fix: better error message with an invalid assetPrefix: #49403
- Fix Node Crypto polyfill: #49288
- Fix: Router.query contains _next when using middleware with dynamic routes: #48753
- type: update React.CSSProperties type to Record: #49186
- Fix server CSS imports and HMR not working properly in specific conditions: #49462
- Fix HMR support for server layer imported SASS and SCSS: #49534
- Support
.bind
syntax with Action functions: #49422 - ci(test): enable turbopack test: #49466
- feat(next-core): relay transform plugin: #48899
- Fix canonical url for dynamic routes: #49512
- Add experimental compile/generate handling: #49491
- chore: cross-platform
rm -rf
script: #49529 - refactor(next-core): remove ast cloning in custom transform: #49560
- fix: a11y issues in react-dev-overlay: #49460
- Add tests for HMR: #49206
- Add stub Route type for typedRoutes: #48099
- Add test for appdir referenced images: #49242
- feat: Allow trace-level logging for non-published release builds: #49564
- Fix unexpected object mutation while resolving Open Graph: #49514
- actions: forward fetch rejections to the action handler: #49577
- actions: make cookies.set revalidate: #49582
- interception route: fix route groups breaking the referrer computation: #49602
- Allow export decl with any init value in the actions compiler: #49600
- Handle unstable_cache in pages: #49624
- Update cache method handling during build: #49633
- Fix fetchCache and no-store handling: #49638
- interception routes: fix rewrites order: #49615
- Ensure initialHeaders are normalized: #49643
- app-router: add support for parallel routes in useParams: #49595
- Add puppeteer to external packages list: #49597
- Add playwright to external package list: #49649
- actions: fill prefetchCache with revalidation payload: #49576
- Rename Turbopack/tasks crates to common prefixes: #49446
- chore(jest): Simplify isServer expression: #48330
- Add missing config vars into Webpack cache key: #49663
- misc: Apply MR comments from #49206: #49647
- fix: Standalone node http server starts accepting requests before next handler is ready: #49548
- Update links from beta to stable docs.: #49349
Documentation Changes
- Fix error message about
preconnect
📝 : #40360 - [docs] Add iOS hydration mismatch details to error page: #43584
- Add note about custom distDir to standalone build docs: #48592
- Add
--use-yarn
flag tocreate-next-app
: #49407
Misc Changes
- Add test case for client sourcemaps: #49308
- Update start release workflow inputs: #49492
- Fix failing actions e2e deploy test: #49497
- Replace var with const: #49379
- test: pages react version with react hook in deployment: #48907
- Add test case for #49235: #49488
- chore: fix flaky middleware matcher test: #49555
- Avoid skipping the required Test Codemods job: #49589
- Update flakey app-actions deploy tests: #49667
Credits
Huge thanks to @shuding, @ijjk, @ForsakenHarmony, @timneutkens, @huozhi, @sanjaiyan-dev, @acdlite, @feedthejim, @styfle, @leerob, @koba04, @g12i, @cesarkohl, @darshkpatel, @josh, @li-jia-nan, @kwonoj, @gabschne, @alexkirsz, @karlhorky, @jridgewell, @sokra, @kdy1, @akd-io, @runjuu, @jocarrd, @nnnnoel, and @ferdingler for helping!
v13.4.1
Core Changes
- actions: update location header: #49223
- Fix serving images referenced from app directory: #49236
- Update dev logs to include request timings: #49191
- Support incrementalCacheHandlerPath for standalone output: #48694
- Apply basePath for metadata image: #49226
- Fix Server Actions defined in both layers in one entry: #49248
- Update tags handling during server action redirect: #49227
- Add experimental verboseRequestLogs flag: #49250
- Fix require-hook with just pages on deploy: #49274
Misc Changes
Credits
Huge thanks to @feedthejim, @jridgewell, @ijjk, @ikryvorotenko, @huozhi, @shuding, and @timneutkens for helping!
v13.4.0
Core Changes
- More fluent GraphTraversal API: #49028
- fix GlobalError interop and add test case: #49033
- Add flag to switch to the experimental channel: #48896
- Fix extra block element in body: #49034
- Fixed
next-types-plugin
causing Typescript errors when"type": "module"
is set: #49027 - Fixed middleware's edge-chunks not being copied in copyTracedFiles: #48723
- Rename
experimentalReact
: #49046 - app router: don't unmount/remount on search param changes: #49047
- style: remove useless React.Fragment tag on
next/image
: #48997 - feat: add draft mode to
next/headers
: #48789 - Fix
next dev
failing for app when__NEXT_DISABLE_MEMORY_WATCHER
is set: #49056 - fix(next-core): interop non string record values in env: #49057
- feat(next-core): support capsize for google font fallback: #48967
- chore: use includes replace indexOf: #48901
- feat: make
enableUndici: true
default and removenode-fetch
: #49061 - fix(next_core): do not apply user config to internal assets: #48210
- update turbopack: #49071
- allow to use different blur placeholder modes: #49070
- Use route metadata to trace in node-file-trace: #49080
- fix quoted env vars from next config: #49090
- find and handle not-found page in app dir: #49095
- Update revalidate handling for app: #49062
- Update turbopack warning: #49051
- Add validation to server methods: #49104
- use ws instead of undici.WebSocket: #49100
- chore: rename draft mode enabled to isEnabled: #49096
- add test cases for error handling: #49093
- improve test case stability: #49036
- Optimize non-dynamic metadata routes to static in production build: #49109
- Allow setting
runtime
in layouts in type declarations: #49117 - Tweak app cache handling for paths: #49108
- add test case for non-enumerable exports: #49106
- Skip handler for POST requests when no action ID is found: #49119
- Fix edge runtime detection from layouts: #49126
- Fix cross-worker revalidate API: #49101
- app router: Fix infinite redirect loop in MPA navigation: #49058
- Only read digest from error instance: #49132
- Static generate dynamic sitemaps: #49114
- Remove writing vscode config: #49133
- Revert "Fix cross-worker revalidate API": #49138
- Revert "Revert "Fix cross-worker revalidate API" (#49138)": #49141
- fix(ts): make
ReadonlyHeaders
more compatible withHeaders
: #49075 - app-router: update prefetch heuristic to traverse until until we hit a loading boundary: #49077
- Forward response to edge runtime for response modification: #49145
- Polyfill
Blob
for Node.js < 18: #49156 - Update compilation target of @next/react-dev-overlay: #49153
- Fix CSS module imports not included in root not-found file: #49155
- app-router: fix stale cache handling: #49160
- Add support for app global and segment 404 pages: #49085
- Tests for Sass warnings: #49151
- Ensure latest react-dom types for experimental release channel are used: #49049
- Update cache methods for app dir: #49165
- Search for lockfiles to find Turbopack root: #49110
- Allow webpack config, but warn if no turbo config: #49170
- Add a generic type for unstable_cache: #49166
- Upgrade React to 18.3.0-canary-b7972822b-20230503: #49158
- Fix server component transforms: #49135
- Fix React channel env missing in custom server: #49168
- app router: support side effects on server requests: #48939
- Fix multipart/form-data handling in the Edge runtime: #49177
- Upgrade React to 18.3.0-canary-aef7ce554-20230503: #49181
- remove startup message by default: #49157
- add test case for bindings in member props: #49134
- Add test case for App Route cookies: #49124
- Fix standalone mode with appDir running in a single process: #49116
- Enable progressive enhanced form actions through decodeAction: #49187
- Use special annotation for
$$bound
if no closure argument is attached: #49188 - Add warning for missing metadataBase in social images: #49180
- Allow override icon rel: #49194
- actions: fix redirect on the edge: #49197
- update turbopack: #49196
- Fix incorrect React env in particular case: #49202
- Add SWC test cases: #49189
- action: add Readable.toWeb "polyfill" for node 16: #49201
- add missing alias for next/dynamic in app dir: #49199
- render app pages with original url: #49198
- action: support not found: #49209
- types: upgrade react/react-dom types: #49213
- Fix metadata routes prerender cache for standalone mode: #49208
- Turbopack alpha -> beta: #49103
- Enable App Router for all applications: #49088
Documentation Changes
- fix: wrong link in docs: #49001
- Simplify CNA prompts a bit: #49063
- Update create-next-app App Router question: #49111
- chore(docs): update next-image-unconfigured-host.md: #49175
Example Changes
Misc Changes
- chore: Update
swc_core
tov0.75.41
: #48982 - Fix failing test on
canary
branch: #49038 - Remove unused font from tailwind
app/page.tsx
: #49035 - Add test case for file uploads: #49048
- chore(cli): remove Route Handlers from App Router templates: #49076
- Fix flaky test: #49178
- disable optimistic_updates: #49211
- test: temporary disable flaky checking: #49217
Credits
Huge thanks to @kdy1, @alexkirsz, @sokra, @shuding, @dciug, @albertothedev, @DuCanhGH, @feedthejim, @li-jia-nan, @styfle, @kwonoj, @patrick91, @timneutkens, @balazsorban44, @ijjk, @padmaia, @Kikobeats, @huozhi, @sophiebits, @eps1lon, @reconbot, @acdlite, @jridgewell, and @sebmarkbage for helping!
react-hook-form/react-hook-form
v7.44.1
: Version 7.44.1
<Form />
component content-type json type missing (#10454)
v7.44.0
: Version 7.44.0
<Form />
Component (https://github.com/react-hook-form/react-hook-form/pull/9735)
https://react-hook-form.com/docs/useform/form
- add try and catch for JSON.stringify
// Send post request with formData
<Form
action="/api"
control={control}
onSuccess={() => {
alert("Great");
}}
/>
// Send post request with json form data
<Form action="/api" encType="application/json" headers={{ accessToken: 'test' }}>
{errors.root?.server.type === 500 && 'Error message'}
{errors.root?.server.type === 400 && 'Error message'}
</Form>
// Send post request with formData with fetch
<Form
onSubmit={async ({ formData, data, formDataJson, event }) => {
await fetch("api", {
method: "post",
body: formData,
});
}}
/>
useFormContext<FormValue, TransformedValues>()
FormProviderProps<TFieldValues, TContext, TTransformedValues>
thanks to @yasamoka & @Torvin @ryota-murakami & @devakrishna33
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.