In my react project, there is a screen where the user can upload a file (excel, csv) from their computer. After uploading, currently, nothing happens. However, I want to print or display whatever text is inside the uploaded on my screen (in any format for now). However, I am not sure how and where I need to store the file for now. How can I achieve this?
This is how I am uploading the file atm:
import Uploady from "@rpldy/uploady"; import UploadButton from "@rpldy/upload-button"; export function Page() { return ( <div> <main> <Uploady destination={{ url: "https://my-server/upload" }}> <UploadButton/> </Uploady> <div> </div> </main> </div> ); }