-
Notifications
You must be signed in to change notification settings - Fork 10
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
v3 #47
Conversation
This file contains 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
Merged
* sv * extract State * cases for ProxyState * remove adapter * extract testUtils * more cases * comment for `$` of `ProxyState` * typo * remove useless `declare` * fix test * remove useless interface Bindable
* more cases * fix test * use dumi * docs * typo * finish docs build * update CI config * restore ci config * adjust Node.js version for npm
* debounced state * upgrade coverallsapp/github-action * case for DebouncedState validationDisabled * simplify IState * adjust naming * comment for DebouncedState & ProxyState * optimize type inference & error logic of DebouncedState * naming details * cases for default delay of DebouncedState * doc for debounced state * debounce validation for DebouncedState * simplify sync of DebouncedState * docs for async validator * comment for DebouncedFieldState * docs typo * base state class rename
* adapter for v2 * exports for adapter * debug ci * add original state for adapted state * upragde formstate-x v2 * comment typo * optimize details * rename throw fn
* ProxyState -> TransformedState * validators -> addValidator * adjust IState details & comment typo * disableValidation -> disable * docs details optimization * addValidator -> withValidator * naming adjustment for adapter * docs typo
* remove isFormState * Simplify validation logic * typo * specify exports in src/index.ts * rename bindInput in docs react-bindings * remove bindInput * type details optimization * remove useless path mapping * Optimize test cases * remove bindInput in docs * field -> child state * clear validation info when ending validation
* finish docs * react as dev deps to build docs * typo * Error -> ValidationError
* dirty -> touched * debug DebouncedState
升级文档见 #84 (comment) |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
FormState
set()
support (FormState
set()
support #37)FormState
onChange()
support (FormState
onChange()
support #40,onChange()
forFormState
#54)getValue
inside of state (value transform inside of state #49,ProxyState
#56)_value
) (Opt-in debouncing #61, Opt-in debouncing #63)validate
(Type-safe result ofvalidate
#60, Optimize typing oferror
invalidate
result #66)isFormState
(FormState
set()
support #37 (comment))doValidation
&applyValdiation
DebouncedState
inbindInput
index.ts
ownError
&hasOwnError
forIState
(ownError
forIState
#71,ownError
&hasOwnError
forIState
#70)dirty
&DebouncedState
#74)dirty
DebouncedState