DenoDDeno
Powered by
rottenroyR
Denoβ€’17mo agoβ€’
1 reply
rottenroy

Error occurs when using React third-party component library

I want to use react-phone-number-input component in my project, but it gives error when I incorporate the component in my code. Picture 1 is the error it gives in browser and picture 2 is the error it gives in terminal. I wonder if anyone knows what's going on here or knows how to properly include third-party component library in the project?

I created a small project to reproduce the error I got just for referrence: https://github.com/MingdaMa/fresh-react-third-party-library
Screenshot_2024-10-28_at_11.49.41_AM.png
Screenshot_2024-10-28_at_2.21.07_PM.png
GitHub
GitHub - MingdaMa/fresh-react-third-party-library
Contribute to MingdaMa/fresh-react-third-party-library development by creating an account on GitHub.
GitHub - MingdaMa/fresh-react-third-party-library
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Third-Party Library Uses `window` not `globalThis` Causing Issues.
kylec32Kkylec32 / help
10mo ago
third party module repo change
jacobhericJjacobheric / help
3y ago
Deno vs Node for writing a React component library.
cameron808Ccameron808 / help
3y ago