Back

Progress callback not working in next js ,

  • 0
  • Web
  • Cloud
Shubham
13 Aug, 2024, 07:52
TypeScript
        AppwriteConfig.bucketId,
        ID.unique(),
        pdfFile,
        [], 
        (progress:UploadProgress) => {
            console.log(progress)
            
            console.log('Upload Progress:', progress.progress);
            setUploadProgress(progress.progress); 
        }
    );```
TL;DR
Developers are encountering an issue with the progress callback not working in Next.js when using the appwriteReff library. They are trying to monitor the upload progress of a file but the callback does not seem to be functioning as expected.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more