Skip to content

v4.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Apr 13:31
ed7f02f

v4.0.0

Improvements:

  • Added createFormStore: create and manage reactive form state with a store and selector hook — no provider needed.

Need to read or manipulate Form's Fields anywhere outside Form context?

Example:

import { createFormStore } from 'usetheform';

const [formStore, useFormSelector] = createFormStore({ counter: 0 });

export const awesomeFormStore = formStore;
export const useAwesomeFormSelector = useFormSelector;

Fixes:

  • Fixed issues with React 18+ strict mode in certain edge cases when using the <Collection array />