Untitled

mail@pastecode.io avatar
unknown
javascript
a year ago
297 B
0
Indexable
const client = new Ably.Realtime.Promise({
  key: <YOUR_TOKEN_AUTH_URL>,
  clientId: </*Whatever client id you want for this*/>,
});

const root = createRoot(container);
root.render(
  <React.StrictMode>
    <AblyProvider client={client}>
      <App />
    </AblyProvider>
  </React.StrictMode>
);
Leave a Comment