Skip to content

v1.0.0

Compare
Choose a tag to compare
@danielweinmann danielweinmann released this 01 Nov 12:26
· 267 commits to main since this release

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.