Upload files using CF Pages with Remix (multipart form)

Remix needs unstable_createFileUploadHandler to be able to extract files from form data, but I can't figure out how (and where from) to import unstable_createFileUploadHandler from. One option is import { unstable_createFileUploadHandler } from "@remix-run/node" but that won't work as this requires node buffer. Any ideas?
1 Reply
Elliot Hesp
Elliot Hesp15mo ago
You import if from @remix-run/cloudflare I think?
Want results from more Discord servers?
Add your server