github airjp73/rvf remix-validated-form-v5.0.1
Remix Validated Form v5.0.1

latest releases: v6.3, react-6.2.1, react-remix-6.2.0...
17 months ago

Slightly breaking fix

The v5 release notes communicated a breaking change to the types that narrowed the onSubmit type based on the provided subaction. This was not fully implemented and only the defaultValues were being narrowed. This patch fixes that and adds the expected type narrowing to the onSubmit prop as well.

This could technically be considered an additional breaking change, but I've included it as a patch because it was the originally intended behavior for the v5 breaking change.

Full Changelog: remix-validated-form-v5...remix-validated-form-v5.0.1

Don't miss a new rvf release

NewReleases is sending notifications on new releases.