Mantine's callback with Remix's ActionFunction

30/08/2022 5 min Temporada 2 Episodio 43
Mantine's callback with Remix's ActionFunction

Listen "Mantine's callback with Remix's ActionFunction"

Episode Synopsis


I'm using Remix to create an app that displays a list of images, similar to a gallery. I am using Cloudinary for storage and Mantine for UI. Since I am using Mantine's DropZones control, it has an onDrop callback to handle dropped files, how could I direct it to Remix's ActionFunction to handle the dropped files since it's not a form, thus there's no post.ExampleuseFetcheruseSubmitMantine's callback with Remix's ActionFunction