how to upload file in start
when i try uploading file to server i am getting the following error
am i doing this correct, i tried searching in docs about how i am suppose to upload file but could not find anything
here is the component code, thank you
https://github.com/omkargarde/code-explainer/blob/dev/src/routes/upload.tsx
Seroval caught an error during the parsing process. Error The value [object File] of type "object" cannot be parsed/serialized. There are few workarounds for this problem: - Transform the value in a way that it can be serialized. - If the reference is present on multiple runtimes (isomorphic), you can use the Reference API to map the references. - For more information, please check the "cause" property of this error. - If you believe this is an error in Seroval, please submit an issue at https://github.com/lxsmnsyc/seroval/issues/new
am i doing this correct, i tried searching in docs about how i am suppose to upload file but could not find anything
here is the component code, thank you
https://github.com/omkargarde/code-explainer/blob/dev/src/routes/upload.tsx
GitHub
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.



GitHub
Contribute to omkargarde/code-explainer development by creating an account on GitHub.