# React js 18 and zoomus websdk problem

**URL:** <https://devforum.zoom.us/t/react-js-18-and-zoomus-websdk-problem/109652>\
**Category:** Meeting SDK\
**Created:** [May 10, 2024, 5:32am UTC](https://devforum.zoom.us/t/react-js-18-and-zoomus-websdk-problem/109652 "2024-05-10T05:32:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nassar-mohamad](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nassar-mohamad](https://devforum.zoom.us/u/nassar-mohamad)\
**Post date:** [May 10, 2024, 5:32am UTC](https://devforum.zoom.us/t/react-js-18-and-zoomus-websdk-problem/109652/1 "2024-05-10T05:32:09Z")

</div>

Hello All,

I have a React js project created by vite,  
When i am trying to embed zoom meeting sdk inside the page using ZoomMtg imported from @zoomus/websdk, i get an error that **Uncaught TypeError: c2 is not a function**  
I am using latest @zoomus/websdk version 2.18.3

Thanks

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [May 10, 2024, 6:00am UTC](https://devforum.zoom.us/t/react-js-18-and-zoomus-websdk-problem/109652/2 "2024-05-10T06:00:41Z")

</div>

if you want use react 18, you have to upgrade to zoom wbsdk \>3.51

> **[Meeting SDK - web - 3.5.1](https://developers.zoom.us/changelog/meeting-sdk/web/3.5.1/)**
>
> React 18 upgrade, requires React 18+ and dependency updates. Light registration, screen share in Safari 17, and active speaker identification.

---

<div class="post-metadata">

**Author:** ![nassar-mohamad](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@nassar-mohamad](https://devforum.zoom.us/u/nassar-mohamad)\
**Post date:** [May 10, 2024, 10:35am UTC](https://devforum.zoom.us/t/react-js-18-and-zoomus-websdk-problem/109652/3 "2024-05-10T10:35:00Z")

</div>

I can’t upgrade to this version because it’s Breaking change

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 10, 2024, 2:06pm UTC](https://devforum.zoom.us/t/react-js-18-and-zoomus-websdk-problem/109652/4 "2024-05-10T14:06:11Z")

</div>

Hi @nassar-mohamad , @j.schoenemeyer is current. The version you are on is not compatible with React 18.
