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?
Was this page helpful?