Closed renovate[bot] closed 3 years ago
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/vyas0189/CougarCS-Client/4gVvgAmyngqNo5fA3faxegDpG3Ty
β
Preview: https://cougarcs-client-git-renovate-react-hook-form-7x-vyas0189.vercel.app
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
This PR contains the following updates:
7.12.2
->7.13.0
Release Notes
react-hook-form/react-hook-form
### [`v7.13.0`](https://togithub.com/react-hook-form/react-hook-form/releases/v7.13.0) [Compare Source](https://togithub.com/react-hook-form/react-hook-form/compare/v7.12.2...v7.13.0) π Performance enhancement at scale React hook from is getting a general performance upgrade and enhancement. The following API will get big performance improvement at scale, which means it may not improve on small or medium-size applications, but rather large and complex applications with subscriptions. - `useWatch` - `useFieldArray` - `watch` - `getValues` Result Env: dev build + throttle 4x CPU + Chrome + MAC M1 | Version | Flat (1000) | Nested (1000) | Deeply Nested (1000 \* 2 \* 2000) | Flat (1000) Mount | |:--- |:---:|:---:|:---:|:---:| | `7.13.0-next.0` | 18ms | 20ms | 200ms | 470ms (no change)| | `7.11.1` | 40ms | 43ms | 2000ms | 470ms| π¦ Package size-reduction - **5%** package size reduction with compress and gzip **Total Size:** 30.3 kB | Filename | Size | Change | | |:--- |:---:|:---:|:---:| | `dist/index.cjs.js` | 8.39 kB | -445 B (5%) | β | | `dist/index.esm.js` | 13.4 kB | -656 B (4%) | | | `dist/index.umd.js` | 8.52 kB | -420 B (4%) | | π« `Trigger` - Trigger will enable object name trigger and field array name trigger ```tsx useFieldArray({ name: 'test' }) trigger('name') // will trigger the whole field array to validate ``` π `register` - added a `disabled` prop as an option to toggle input disable attribute - register will be able to seek input DOM reference through the `ref` callback ```tsx register('test', { disabled: true }) // will set value to undeinfed and pass disabled down to the input attributeConfiguration
π Schedule: At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.