v1.0.0
Allow usage with React Router 6.4 🚀
Breaking changes
- You now need to
createForm
andcreateFormAction
before using Remix Forms. See upgrade instructions below. (#93) - The
transition
argument is not passed toForm
's children anymore. If you used to get the transition from the children function, now you need to get it directly fromuseTransition
,useNavigation
, oruseFetcher
. (#93)
New features
- It's now possible to use Remix Forms with React Router 6.4 🎉 . (#93)
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 toimport { 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 toimport { 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.