Releases: platypusrex/react-form-ally
Releases · platypusrex/react-form-ally
@react-form-ally/hook@0.5.0
Minor Changes
- b7d80c3: Adds shim for
useSyncExternalStore
to support consumers using react 16.8 - 17.x.
@react-form-ally/hook@0.4.0
Minor Changes
- fb74103: This adds a new utility function for creating form hooks (createFormHook) which is
instantiated outside of a component's scope. This allows you to persist and share the state of a
form hook between multiple components without the need of a context provider.
@react-form-ally/hook@0.3.0
Minor Changes
- 04a69db: The update introduces the
watch
API that can be utilized with theuncontrolled
input
strategy. This change allows you to truly adopt a hybrid solution, defaulting all form input to
uncontrolled, yet allowing individual form fields to behave as controlled inputs. This will allow
your UI to respond to value changes with specific form fields.
@react-form-ally/hook@0.2.0
Minor Changes
- 4f17af8: Warning: breaking changes introduced with this release. This is a heavy refactoring of
the form hook that is intended on improving the overall performance and flexibility of the form
hook. TheregisterField
util has been removed and replace with 3 field registration functions:
registerInput
,registerCheckbox
, andregisterRadio
. A new util was also introduced:
focusField
. This supports focusing on any registered form field. The API for useForm has also
changed slightly. TheinitialValues
property is now nested inside aninput
property. You may
also specify atype
property for theinput
field of eithercontrolled
oruncontrolled
.
Please the official documentation for more details and examples.
@react-form-ally/zod-validator@0.1.0
Minor Changes
- 32bf72d: Initial release for all react-form-ally packages. This includes the core hook package and
zod/yup validator packages.
@react-form-ally/yup-validator@0.1.0
Minor Changes
- 32bf72d: Initial release for all react-form-ally packages. This includes the core hook package and
zod/yup validator packages.
@react-form-ally/hook@0.1.0
Minor Changes
- 32bf72d: Initial release for all react-form-ally packages. This includes the core hook package and
zod/yup validator packages.