DEV Community

Cover image for Introducing the new SuperViz React SDK
Vitor Norton for SuperViz

Posted on

Introducing the new SuperViz React SDK

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!

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more