Introducing the new SuperViz React SDK
Vitor Norton

Vitor Norton @vtnorton

About: Developer Advocate @ SuperViz | tweets sobre cotidiano de trabalho em tech e as vezes mitologia | lives na twitch | opiniões somente minhas

Location:
São Paulo, SP
Joined:
Jun 27, 2019

Introducing the new SuperViz React SDK

Publish Date: Feb 27 '24
0 0

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;
Enter fullscreen mode Exit fullscreen mode

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!

Comments 0 total

    Add comment