
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@100mslive/react-sdk
Advanced tools
[](https://github.com/100mslive/web-sdks/actions/workflows/lint-test-build.yml) [.
An easy way to use the store, actions and notifications are provided via
React hooks.
Some other hooks are also provided for ease of use which wrap
over the primitive ones.
If someone is using class based react components, they'll be better off
with using the core sdk directly.
// npm
npm install @100mslive/react-sdk@latest --save
// yarn
yarn add @100mslive/react-sdk@latest
Add HMSRoomProvider from @100mslive/react-sdk at the top level of your component tree where you want to use the hooks. Wihout this the hooks will throw an error.
<HMSRoomProvider>
<YourComponent></YourComponent>
</HMSRoomProvider>
By default, when using HMSRoomProvider room leave will be called when you are leaving/closing the tab.
To disable this behaviour, you can pass leaveOnUnload as false
NOTE: The above leave might or might not be successfully sent to server as it depends on the browser implementation. This works on chromium based browsers.
These are hooks wrapper over the sdk things.
Refer to docs for a more detailed guide.
FAQs
[](https://github.com/100mslive/web-sdks/actions/workflows/lint-test-build.yml) [
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.