Introducing the new SuperViz React SDK

Posted by | February 26, 2024

Big news! Our new React SDK is here. This will complement our existing JavaScript SDK by providing developers working on React platforms with better compatibility and making it easier to incorporate SuperViz Collaboration components.

To start using the React SDK, just run npm install --save @superviz/react-sdk and then start a room by creating a SuperVizRoomProvider, like shown below:

1import { SuperVizRoomProvider } from "@superviz/react-sdk";
2
3 function App() {
4
5 return (
6 <SuperVizRoomProvider
7 developerKey="<developerkey>"
8 group={{
9 id: "<group-id>",
10 name: "<group-name>",
11 }}
12 participant={{
13 id: "<user-id>",
14 name: "<user-name>",
15 }}
16 roomId="<room-id>"
17 >
18 <h1>This is a room</h1>
19 </SuperVizRoomProvider>
20 );
21 }
22
23 export default App;

To learn more about our React SDK, the components and their utilization, please check out our dedicated documentation section.

Stay tuned for more updates as we continue to grow and improve our SDK. Happy coding!

Recent posts

Pub/Sub pattern vs Observer Pattern: what is the difference?

July 04, 2024

Design Pattern #4 - Publisher/Subscriber Pattern

June 27, 2024

Design Pattern #3 - Observer Pattern

June 20, 2024