0.4.3 • Published 9 months ago

@formsignals/dev-tools-react v0.4.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

dev-tools-react-version dev-tools-react-bundle

A React component containing the dev tools for the React binding of Form Signals.

Features

  • TypeScript - Written in TypeScript with full type support for optimal DX.
  • Reactivity - Reactivity without abstractions thanks to Preact Signals.
  • Validation - Built-in validation support, including adapters for validation schema libraries.
  • Transformations - Transform values for the specific needs of your input fields.
  • Field Groups - Group fields together to manage parts of a form independently.
  • Async Data - Easily manage async initialisation, validation and submission.
  • Arrays + Dynamic Objects - Utilize arrays and dynamic objects within your forms.
  • React - React bindings for easy integration with React.
  • Dev Tools - Offers a dev tools component to debug your forms.

Install

npm install @formsignals/dev-tools-react

If you have not installed the React bindings of the form library, check out @formsignals/form-react installation.

Quickstart

Just add the FormDevTools component to your React app within the FormProvider you want to debug.

import { useForm } from '@formsignals/form-react';
import { FormDevTools } from '@formsignals/dev-tools-react';

export default function App() {
  const form = useForm()

  return (
    <form.FormProvider>
      <FormDevTools />
      {/* Your app here */}
    </form.FormProvider>
  );
}

Preview

0.4.3

9 months ago

0.3.0

1 year ago

0.2.1

1 year ago

0.4.1

11 months ago

0.4.0

1 year ago

0.3.1

1 year ago

0.4.2

11 months ago

0.1.3

1 year ago

0.1.1

1 year ago

0.0.1

1 year ago