# Zoom importing react as dependency instead of peer dependency

**URL:** <https://devforum.zoom.us/t/zoom-importing-react-as-dependency-instead-of-peer-dependency/33458>\
**Category:** Web\
**Created:** [October 16, 2020, 1:28pm UTC](https://devforum.zoom.us/t/zoom-importing-react-as-dependency-instead-of-peer-dependency/33458 "2020-10-16T13:28:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![natansh.prasad](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/natansh.prasad/32/17178_2.png) [@natansh.prasad](https://devforum.zoom.us/u/natansh.prasad)\
**Post date:** [October 16, 2020, 1:28pm UTC](https://devforum.zoom.us/t/zoom-importing-react-as-dependency-instead-of-peer-dependency/33458/1 "2020-10-16T13:28:26Z")

</div>

**Description**  
Zoom (package @zoomus/websdk) should import react 16.8 as peer dependency instead of dependency.

**Error**  
invariant Violation: Minified React error #32

**Which version?**  
^1.8.1

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:  
Install a new version of react and import zoom web sdk. This leads to two imports of react.

Please just import react as peer dependency (remove react from dependencies) in package.json and release a version

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 20, 2020, 4:35pm UTC](https://devforum.zoom.us/t/zoom-importing-react-as-dependency-instead-of-peer-dependency/33458/2 "2020-10-20T16:35:49Z")

</div>

Hey @natansh.prasad,

Thanks for sharing this! We will look into adjusting how we are importing react to the Web SDK. 🙂

(CS-2426)

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 20, 2020, 2:35am UTC](https://devforum.zoom.us/t/zoom-importing-react-as-dependency-instead-of-peer-dependency/33458/3 "2020-11-20T02:35:59Z")

</div>

Closed on November 20, 2020, 2:35am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
