How to use the upload widget in react/nextjs using hooks?
Hello,
I found the following example on how to integrate the upload widget to React:
https://support.cloudinary.com/hc/en-us/articles/360020451819-How-to-integrate-the-Upload-Widget-in-your-React-app-
This is class based approach, and React has moved to functional components using hooks. How can I implement the above code using react hooks?
-
Hi Gabriel,
Please take a look at this example:
https://support.cloudinary.com/hc/en-us/articles/360020451819
Best,
Tamara
-
Hi Alvaro.
I was able to use this CodeSandbox from Tamara's example without any issue. Could you please provide us with a fork showing the issue you're encountering?
Many thanks,
-Danny
Post is closed for comments.
Comments
5 comments