Commit Graph

18 Commits

Author SHA1 Message Date
Tanner Linsley
1fb28c53eb fix: refactor to flat generics with consistent names & patterns 2023-09-13 14:46:16 -06:00
Corbin Crutchley
160f71275f fix: Field components should now infer state.value properly
* chore: refactor TS typings for React

* fix: field should now infer state.value properly in React adapter

* chore: fix Vue package typings

* chore: fix linting

* chore: fix React adapter

* chore: improve performance of TData type in FieldApi

* chore: add back index and parent type

* chore: add Vue TSC dep on Vue example

* chore: fix lint and type test

* chore: update Vite stuff

* chore: add implicit dep for Vue and React examples

* chore: add type test pre-req

* chore: install deps from examples in PR CI

* chore: remove filter from more installation
2023-09-09 03:40:29 -07:00
Corbin Crutchley
e3e60ccd41 fix: bundler errors in React and Vue adapters should now be resolved (#447)
* fix: bundler errors in React and Vue adapters should now be resolved

* chore: replace use-isomorphic-layout-effect with dep for RN support
2023-09-07 20:03:11 -07:00
Corbin Crutchley
6f76feee6b fix: onSubmit should now behave as expected
* 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
2023-09-06 19:33:52 -07:00
Corbin Crutchley
2a31bd8219 feat: remove getFormProps to support React Native 2023-09-03 16:48:51 -07:00
Gabriel Tavares
d8ff96087d fix: cannot update a component/bad setState (#420)
* fix: cannot update a component/bad setState

* fix: add dep useEffect in useForm

* fix: add missing deps in useForm
2023-08-31 13:50:49 -07:00
Corbin Crutchley
74ac9f4b9c Update build tooling (#401)
* chore: inital work to migrate to Query's alpha package setup

* chore: update deps

* chore: fix build issues

* chore: disable no-children-prop rule
2023-07-04 21:06:03 -06:00
Brandon Bayer
a3f9709dde fix: several type and build errors and fix example type inference (#399)
* fix few type errors and fix example

* couple fixes

* fix babel
2023-06-13 15:36:42 -06:00
Tanner Linsley
bebd998a55 fix: release
RELEASE_ALL
2023-06-12 09:23:40 -06:00
Tanner Linsley
ca8f244b5e fix: form.Provider 2023-05-04 16:05:36 -07:00
Tanner Linsley
b37628d337 fix: remove form.Form for headless form.getFormProps() 2023-05-04 15:39:15 -07:00
Tanner Linsley
6d75eba15a fix: update form props on render 2023-05-04 12:22:31 -07:00
Tanner Linsley
62a82fe48f fix: array-field mode and utilities 2023-05-03 15:16:56 -07:00
Tanner Linsley
f05ab79ef6 fix: Cross-platform FormSubmitEvent via Register 2023-05-01 11:58:55 -06:00
Tanner Linsley
c444704ae3 fix: complete form factory functionality, docs 2023-05-01 10:59:37 -06:00
Tanner Linsley
b274bccf3d fix: createFormFactory 2023-05-01 10:27:51 -06:00
Tanner Linsley
a4fa4f0da8 GPT that shiz 2023-04-24 23:58:54 -06:00
Tanner Linsley
9a18e45de7 big changes 2023-04-24 15:44:59 -06:00