I am using Next 13 (appdir) and Supabase to create an application where users can upload data to their profile. For this, I created a form, which collects the data and passes it though a useState (for which I require client side rendering), but then I need to write this to Supabase, which to my knowledge requires an async function and therefore needs for the component to be on the server.
Does anybody have any tips as to how to go about this and can point me in the right direction?