Introducing the new SuperViz React SDK

Posted by Vitor Norton | 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.

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:

1
import { 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

SuperViz Hackathon: AI meets RealTime

October 02, 2024

Super Hackathon: Celebrating Innovation and Announcing our Winner

August 31, 2024

Design Pattern #6 - Composite Pattern

July 25, 2024