Skip to content
Avram Walden edited this page May 2, 2024 · 3 revisions

A hook for using forms with Inertia.js, meant to be used as a direct replacement of Inertia's useForm hook.

It address two issues with the original; https://github.com/inertiajs/inertia/issues/1131, and https://github.com/inertiajs/inertia/discussions/1174.

This was developed alongside a Rails project, so the form handling ethos follows Rails conventions, however, effort was taken to make it as agnostic as possible and it should be useable in a Laravel application as well.

Here is a codesandbox with usage examples for all hooks and components

Clone this wiki locally