Home > Back-end >  Remix.js can't redirect from action if using Form component
Remix.js can't redirect from action if using Form component

Time:11-20

I have been looking through Remix docs, but I can't find the answer to this. It seams that you can't redirect from action if you are using Form component from remix. Here is a stackblitz, take a look:

enter image description here enter image description here

Here's the same example on Codesandbox and it works just fine as expected.

https://codesandbox.io/s/remix-form-redirect-62pgtl

  • Related