brianmmdev
brianmmdev5mo ago

How to use mutations with Remix actions

Hey all. I'm pretty new to Remix and Convex but wanting to build something with it. Trying to use actions in Remix to call a Convex mutation to insert form data into a table. I can't find much info about using mutations outside of useMutation, which does not work in an action. Any pointers on how to pull this off? Thanks! (PS: No rush, I'm signing out for a few hours)
1 Reply
Michal Srb
Michal Srb5mo ago
I'd recommend going with normal Convex mutations from the client (useMutation). You'll get consistency, and auth will just work.

Did you find this page helpful?