# Js web SDK component realease function?

**URL:** <https://devforum.zoom.us/t/js-web-sdk-component-realease-function/63919>\
**Category:** Web\
**Created:** [February 7, 2022, 3:51pm UTC](https://devforum.zoom.us/t/js-web-sdk-component-realease-function/63919 "2022-02-07T15:51:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebpatu](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@sebpatu](https://devforum.zoom.us/u/sebpatu)\
**Post date:** [February 7, 2022, 3:51pm UTC](https://devforum.zoom.us/t/js-web-sdk-component-realease-function/63919/1 "2022-02-07T15:51:50Z")

</div>

**Description**  
In a one page app, id like to be able to set and release several times the meeting rooms. in a stable manner.  
But i did not found out what is the release component function?  
thanks

**Browser Console Error**

**Which Web Meeting SDK version?**  
2.2.0

**Meeting SDK Code Snippets**

**To Reproduce(If applicable)**

**Screenshots**

**Device (please complete the following information):**

**Additional context**

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 8, 2022, 10:12pm UTC](https://devforum.zoom.us/t/js-web-sdk-component-realease-function/63919/2 "2022-03-08T22:12:40Z")

</div>

@sebpatu,

It looks like you are currently working with our support team on this matter. I will close this topic, however, please continue to work with support engineers.

For other interested community members, a function that can be leveraged to release the component to clean up everything that was initialized and be able to init new one later is:

- For **Component View** , leave() → join() should re-initialize everything.

- For **Client View** , you’d need to close and reopen the window

Thanks,  
Donte

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 8, 2022, 10:12pm UTC](https://devforum.zoom.us/t/js-web-sdk-component-realease-function/63919/3 "2022-03-08T22:12:50Z")

</div>

Closed on March 8, 2022, 10:12pm UTC


