* feat(form-core): add <FieldMeta>.isValid
this is a shortened counterpart to checking
field.state.meta.errors.length > 0
* docs: use isValid checks instaed of error length checks
* fix: read field derived data from the right store
* style: revert extracting errorMap variable in setMeta
* style: revert extracting errorMap variable in setFieldMeta
* docs: rephrase isValid description and related props
---------
Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: Luca <luca@luca-laptop.int.dr-jakob.ch>
* docs: improve get started guide for React to be more representative
* docs: revise with feedback from @phryneas
* docs: minor additions
---------
Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
* feat: support array notation in DeepKeys and DeepValue types
* fix: support numerical values for arrays in DeepValue better
* feat!: remove form.Provider from React package
* chore: fix utils tests in regards to arrays
* feat!: remove form.Provider from Solid package
* chore!: proof of working arrays in react
* chore: change Vue behavior and types
* chore: fix CI, apply formatter, etc
* docs: remove mention of provider from docs
* chore: add test to React array usage
* test: add test to Solid form
* chore: fix Solid test
* chore: add array test to Vue
* chore: fix CI
* docs: add array example to react docs
* docs: improve the React basic concepts example
* chore: add React array example
* docs: add SolidJS example and docs
* chore: add Vue example
* docs: add array guide to Vue
* chore: fix CI
* chore: fix CI issues
* Apply suggestions from code review
Co-authored-by: fuko <43729152+fulopkovacs@users.noreply.github.com>
---------
Co-authored-by: fuko <43729152+fulopkovacs@users.noreply.github.com>
* fix: memoize all non-function form props by default
* chore: migrate useStableFormOpts to useMemo
* fix: options passed to useField will not always cause a re-render
* chore: minor code cleanups
* test: add previously failing test to demonstrate fix
* chore: fix linting
* fix: running form.update repeatedly should not wipe form state
* test: add test to validate formapi update behavior
* test: add initial tests for useStableOptions
* chore: remove useStableOpts and useFormCallback