remix-forms

The full-stack form library for Remix and React Router

MIT License

Downloads
8.6K
Stars
492
Committers
9

Bot releases are hidden (Show)

remix-forms - v1.2.1

Published by diogob almost 2 years ago

Bug Fix

Full Changelog: https://github.com/SeasonedSoftware/remix-forms/compare/v1.2.0...v1.2.1

remix-forms - v1.2.0

Published by danielweinmann almost 2 years ago

New features

Docs

New Contributors

  • @lewischa made their first contribution in #104

Full Changelog: https://github.com/SeasonedSoftware/remix-forms/compare/1.1.0...v1.2.0

remix-forms - v1.1.0

Published by diogob almost 2 years ago

New features

Bug Fix (breaking change)

  • Before this release enums without a default value would be rendered by default as a select component having the first option selected. Now the component will be rendered without any selected option unless specified in the values property.

Full Changelog: https://github.com/SeasonedSoftware/remix-forms/compare/v1.0.0...1.1.0

remix-forms - v1.0.0

Published by danielweinmann almost 2 years ago

Allow usage with React Router 6.4 🚀

Breaking changes

  • You now need to createForm and createFormAction before using Remix Forms. See upgrade instructions below. (#93)
  • The transition argument is not passed to Form's children anymore. If you used to get the transition from the children function, now you need to get it directly from useTransition, useNavigation, or useFetcher. (#93)

New features

Upgrade instructions

If you're using Remix Forms 0.x.x, upgrading is very easy. Here's what you have to do:

  • Create a custom formAction for your project in a server-only file and import it whenever you used to import { formAction } from 'remix-forms'. Follow the instructions on our Get Started guide to create it.
  • If you haven't yet created a custom Form component for your project, create one by following our Get Started guide. Then, import it whenever you used to import { Form } from 'remix-forms'.
  • If you already created a custom Form component, you'll need to do a couple of changes to it. Check out the very last section of our Get Started guide for instructions.