# Two instances of WebViewer were created on the same HTML element ( React App)

**URL:** <https://pdfjs.community/t/two-instances-of-webviewer-were-created-on-the-same-html-element-react-app/679>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [April 2, 2021, 8:50pm UTC](https://pdfjs.community/t/two-instances-of-webviewer-were-created-on-the-same-html-element-react-app/679 "2021-04-02T20:50:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [April 2, 2021, 8:50pm UTC](https://pdfjs.community/t/two-instances-of-webviewer-were-created-on-the-same-html-element-react-app/679/2 "2021-04-02T20:50:51Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

- [Using instance.loadDocument() inside useEffect to open a file](https://pdfjs.community/t/using-instance-loaddocument-inside-useeffect-to-open-a-file/318/1)
- [Best practices for PDF.js Express - Store annotations](https://pdfjs.express/documentation/learn-more/best-practices#store-annotations)
- [Explicity destination with document works but named destination doesn’t?](https://pdfjs.community/t/explicity-destination-with-document-works-but-named-destination-doesnt/638/1)
- [Pdf-js default viewer with Django](https://pdfjs.community/t/pdf-js-default-viewer-with-django/390/1)
- [Webviewer initialization error](https://pdfjs.community/t/webviewer-initialization-error/173/1)

---

_[View the full topic](https://pdfjs.community/t/two-instances-of-webviewer-were-created-on-the-same-html-element-react-app/679)._
