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:
import { SuperVizRoomProvider } from "@superviz/react-sdk";
function App() {
return (
<SuperVizRoomProvider
developerKey="<developerkey>"
group={{
id: "<group-id>",
name: "<group-name>",
}}
participant={{
id: "<user-id>",
name: "<user-name>",
}}
roomId="<room-id>"
>
<h1>This is a room</h1>
</SuperVizRoomProvider>
);
}
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!
Top comments (0)