The Call Kent Podcast
The Call Kent Podcast
Kent C. Dodds
Mantine's callback with Remix's ActionFunction
5 minutes Posted Aug 30, 2022 at 2:16 pm.
0:00
5:21
Download MP3
Show notes

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.

Mantine's callback with Remix's ActionFunction