-
Notifications
You must be signed in to change notification settings - Fork 1.1k
V6 #252
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
Merged
Merged
V6 #252
Changes from all commits
Commits
Show all changes
219 commits
Select commit
Hold shift + click to select a range
965981f
set up v5 fundation
bluebill1049 fbb6e53
fix the build
bluebill1049 2d1470a
get both v5 and v6 running
bluebill1049 23fb8a5
clean up v5/v6 docs
bluebill1049 d1f7e56
update on v6 on api page
bluebill1049 f4e6321
more v6 clean up
bluebill1049 05e6742
more page update
bluebill1049 402d0e3
update valdiation resolver
bluebill1049 e9a976f
update react-hook-form-devtools
bluebill1049 4b15ff3
fix ts page
bluebill1049 bdaa686
fix path
bluebill1049 bc67b5d
fix path
bluebill1049 e1578c5
fix path
bluebill1049 c48d01e
Insert 'clearError' method (#253)
eatdesignlove bfc94a4
Update setError.ts
bluebill1049 f14cc53
more update on V6
bluebill1049 d8544cd
update
bluebill1049 e388b08
update on formContext
bluebill1049 3b3fb63
fix link
bluebill1049 053fea6
remove extra line
bluebill1049 8fcaf78
Merge branch 'master' into V6
bluebill1049 648afb7
update yarn.lock
bluebill1049 4325bba
update useform content
bluebill1049 05b97df
include useWatch
bluebill1049 f25af7d
useWatch other lang
bluebill1049 2e00ba4
update docs around resolver
bluebill1049 b13d7bf
pretiter
bluebill1049 392c08b
update package version
bluebill1049 90a0649
animation on side nav bar
bluebill1049 f9c8a85
include migration guide page
bluebill1049 98639b1
fix lang selection
bluebill1049 3eab837
update nav url
bluebill1049 21efc3e
working on the TS page
bluebill1049 d03c134
try to fix css module with ts
bluebill1049 d67f28b
update all the page with location
bluebill1049 3cc8448
Merge branch 'master' into V6
bluebill1049 2a0637b
Merge branch 'master' into V6
bluebill1049 30988e2
update doc for formstate
bluebill1049 69027e0
Merge branch 'master' into V6
bluebill1049 04d724a
move schema validation to get started page
bluebill1049 ed8ecc2
update resolver doc on get started
bluebill1049 e6a0551
update migration guide with dirty/dirtyFields
bluebill1049 a37dbef
update resolver supports
bluebill1049 93532ae
Merge branch 'master' into V6
bluebill1049 4127457
update resolver docs
bluebill1049 58f18f6
update resource with animation
bluebill1049 19be336
update CSB for get started page
bluebill1049 1eff3f4
update resolver example
bluebill1049 c26fc48
update codesandboxs
bluebill1049 7017648
fix apiPage all codesandbox
bluebill1049 fdf5634
include exported TS type
bluebill1049 14ed53b
update package location
bluebill1049 726aa7f
Update DevTools.tsx
bluebill1049 1aaa031
update sub title
bluebill1049 db741ef
translating migration v5 to v6 page to pt (#267)
vitorboccio 48cdbe6
update spansih migration guide
bluebill1049 6de7886
get migration guide ready
bluebill1049 55103eb
Merge branch 'master' into V6
bluebill1049 d4516f9
update packages
bluebill1049 8aafb23
watching input change section
bluebill1049 67ff33d
content update
bluebill1049 db89d1a
fix style
bluebill1049 71efefa
indicate lib package size
bluebill1049 eb497f9
update doc on useFieldArray
bluebill1049 bb96008
include another video from japanese
bluebill1049 6430d63
working animmation
bluebill1049 b4e6e9d
working animation
bluebill1049 6316799
refine animation
bluebill1049 88840d3
sort out animation order
bluebill1049 18edce6
improve animation code
bluebill1049 0d64d5b
fix animation sequence
bluebill1049 6343701
include shouldFocus prop
bluebill1049 c28fdaa
Merge branch 'master' into V6
bluebill1049 6570f30
Merge branch 'master' into V6
bluebill1049 a04ac86
error messaage component
bluebill1049 0ab76b3
update on TS page
bluebill1049 d91aaf0
include description for all types
bluebill1049 0da164a
include animation for migrate guide
bluebill1049 7734b7e
fix home page animation
bluebill1049 98e3bcf
rename OnSubmit to SubmitHandler
kotarella1110 fe478cd
complete watch section at home page
bluebill1049 40b83c5
Improved ApiPage bundle size (#278)
keiya01 5fcbb8f
Fixed path (#279)
keiya01 beec30f
Fixed ApiPageV5 (#280)
keiya01 73ebe7e
Improved FaqPage perf (#281)
keiya01 fd51364
Split the bundle on each page (#282)
keiya01 b34a7c6
Improved performance DevTool page (#283)
keiya01 79ae38c
fix bugs (#285)
kotarella1110 b00d6b1
fix error message type and update for v6 (#284)
kotarella1110 59b9006
fix build
bluebill1049 11fd0ab
Merge branch 'master' into V6
bluebill1049 39663da
close #1749 around controller rules update
bluebill1049 44590de
fix build
bluebill1049 3dfcb70
prepare ts pages ready for other langs
bluebill1049 b95d2c3
Correct V5 & V6 Docs + added ts-codesandbox (#289)
pmaier983 f020195
Feature/ts codesandbox (#290)
pmaier983 dace1d7
translate content for ts page
bluebill1049 58b0102
include controller api update
bluebill1049 2876603
update more examples
bluebill1049 ae3108c
update example for codesandbox
bluebill1049 e55859a
update conditional input
bluebill1049 016054e
update order
bluebill1049 a328f85
fix home page contrast with light mode
bluebill1049 6a870b4
close #286 issue around dirty file
bluebill1049 a5d3ca7
close #250 around inital render with defaultValues
bluebill1049 27e01fa
include example for modal
bluebill1049 c4ac6a1
translate other lang
bluebill1049 9890935
Feature/ts codesandbox (#291)
pmaier983 138306c
Merge branch 'master' into V6
bluebill1049 67fe198
update to submitFocusError
bluebill1049 c6b1a36
fix sentence for resolver
bluebill1049 d29a4c8
include shouldUnregister
bluebill1049 32d351e
fix translation with unregister and fix some russian translation
bluebill1049 2a0d1f2
update with error message with @hookform
bluebill1049 034b18c
update home page panel
bluebill1049 edccef6
update packages
bluebill1049 8efcde5
update doc for controller
bluebill1049 875bdf1
update on get started page
bluebill1049 ee91f9b
fix get started page
bluebill1049 443b651
imporve getValues doc
bluebill1049 024092d
update getvalues for all and get translated tmr
bluebill1049 c8a3ab5
include videos links for section
bluebill1049 4b2f07f
fix style
bluebill1049 1c7c8bc
translate getValues api
bluebill1049 79879a8
update doc
bluebill1049 8418fe6
update doc
bluebill1049 218eeda
Feature/get started example update (#296)
pmaier983 4bdfba7
remove extra install
bluebill1049 90619e4
more doc update
bluebill1049 4747d9a
revert a CSB
bluebill1049 566e0bd
more doc update
bluebill1049 c6e9e76
update on resource page
bluebill1049 018d5b1
update get started page
bluebill1049 eba99d5
include migration guide for error message
bluebill1049 bd41680
Merge branch 'master' into V6
bluebill1049 1068080
clean up advance page
bluebill1049 e8d3be5
change all alert to console
bluebill1049 20384cc
update resource page style
bluebill1049 d9d9655
fix api and footer
bluebill1049 d0ca4d3
fix link nav
bluebill1049 1d25e09
include info about react native testing
bluebill1049 552302f
close #1868 useFieldArray doesn't support conditional render
bluebill1049 6b4026d
update error message size
bluebill1049 fa7b415
update with videos
bluebill1049 c359db9
Feature/get-started-example-update (#298)
pmaier983 67875be
update video section and more resource
bluebill1049 9a2c462
update useWatch and useFieldArray doc
bluebill1049 9bf9603
finish translate all content
bluebill1049 73e00ad
clean up the object type
bluebill1049 b7a61f6
Add all to useForm mode (#297)
pmaier983 7de01b2
Update Important Code Sandbox + Add TS examples (#299)
pmaier983 aaf2dd8
Translate spanish (#300)
chestergalindo ba86bcd
update setValue api
bluebill1049 4500b1d
fix button focus effect
bluebill1049 af87689
Feature/get started example update (#302)
pmaier983 44dd1c6
update migration guide
bluebill1049 960ccf6
Translate spanish (#301)
chestergalindo f66c142
fix all the code gap
bluebill1049 16a2c6f
update codesandbox
bluebill1049 e89b5a1
Fix type signature for handleSubmit in docs (#303)
bpartridge 0c69b7d
Misc. Fix's and add SubmitHandler clarification (#304)
pmaier983 5da7eb9
rename to clearErrors
bluebill1049 b510684
Merge branch 'master' into V6
bluebill1049 7ed43c4
fix doc on setValue
bluebill1049 b78419e
Support i18n in Subscribe Input Change section in Home (#305)
keiya01 bbefd52
Translated to jp in FAQs page (#306)
keiya01 f60dc17
fix link with api version toggle
bluebill1049 8d9d19b
fix doc about clearErrors
bluebill1049 0ed8352
fix clear errors link
bluebill1049 d91bbe3
Small Bug Fix and CodeSandbox v5/v6 seperation (#307)
pmaier983 4de9ba9
fix examples with email regex to support all TLD's (#308)
sandcastle c7d6db4
[updated] review advanced page (#310)
chestergalindo e384c28
v6 and v5 seperation for ApiErrors + i18n work (#309)
pmaier983 368364b
Update watch Code Examples and CodeSandbox's (#311)
pmaier983 3778716
Feature/api doc work (#312)
pmaier983 0e2fd55
clean up the copy button
bluebill1049 b5511c9
only show JS icon if TS code is present
bluebill1049 4f6f732
include new video
bluebill1049 f6c935e
remove lodash from codeArea & enhance logic (#313)
pmaier983 d24aa17
Adds eslint and fixes all resulting errors (#314)
pmaier983 04c54be
Update watch CodeExample + TS Code (#315)
pmaier983 555bb3a
update doc with v6 banner
bluebill1049 39993ce
finalise the banner
bluebill1049 c670327
add is live
bluebill1049 2f2ac1c
update title
bluebill1049 f84227c
fix padding and font size
bluebill1049 6b7e6f3
Added Reset Example and CodeSandbox (#316)
pmaier983 ee9047d
Expand/improve setError Docs (#318)
pmaier983 fb3b193
update banner with CTA
bluebill1049 5ecc339
Added test tutorial (#317)
keiya01 59ed232
reduce couple lines with test example code
bluebill1049 8ae8505
add back id
bluebill1049 937327a
remmove spectrum icon
bluebill1049 9607f81
refine testing description
bluebill1049 bdd2bf8
fix bugs (#319)
keiya01 364f8c2
translate contents
bluebill1049 9ecef7f
revise korean translation - Home (#266)
adhrinae 8587188
use `currentLanguage` data to 'TS Support' page
adhrinae de12ebb
revise korean translation - TS Support (#266)
adhrinae 5c90cc2
translate to jp (#321)
keiya01 634edcb
revise korean translation - Advanced'(#266)
adhrinae 3f9372e
revise korean translation - FAQs (#266)
adhrinae e7618da
revise korean translations - Misc (#266)
adhrinae a9886cb
fixed sentence (#322)
keiya01 2724f05
Enhance clearError docs + fix bug (#323)
pmaier983 7cf0391
Improve English in formState (#326)
dandv ddb2a1a
fix the typo on multiple error
bluebill1049 e094e3f
include extra resource
bluebill1049 4e0dfd7
update dot points
bluebill1049 ab271e5
fix missing `isDirty` connection on API page
adhrinae 5b0865d
revise korean translation - V6 API docs (#266)
adhrinae 164fb9d
Merge branch 'master' into V6
bluebill1049 f0ceebf
Enhance setValue Docs (#327)
pmaier983 680372c
V6 (#328)
chestergalindo 53101cd
update doc on should unregister
bluebill1049 420a40f
Enhance getValue Docs (#329)
pmaier983 d248960
add more video resource
bluebill1049 4f7a6d3
update table title and design
bluebill1049 d768d15
fixed code example
keiya01 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
const OFF = 0 | ||
const WARN = 1 | ||
const ERROR = 2 | ||
|
||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
ecmaVersion: 2020, | ||
sourceType: "module", | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
}, | ||
extends: [ | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
// "plugin:jsx-a11y/recommended", // TODO | ||
"prettier/@typescript-eslint", | ||
"plugin:prettier/recommended", | ||
], | ||
settings: { | ||
react: { | ||
version: "detect", | ||
}, | ||
}, | ||
rules: { | ||
// typescript | ||
"@typescript-eslint/explicit-function-return-type": OFF, | ||
"@typescript-eslint/interface-name-prefix": OFF, | ||
"@typescript-eslint/explicit-module-boundary-types": OFF, | ||
// react | ||
"react/display-name": OFF, | ||
"react/prop-types": OFF, | ||
"react/jsx-no-target-blank": WARN, | ||
"react/no-unescaped-entities": WARN, | ||
}, | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason hookform/devtools is not in devDependencies. (Also we should bump to 1.2.1). Will create PR in the near future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its a specail build, because normally devtool export null in prod.