Untitled

mail@pastecode.io avatar
unknown
javascript
2 months ago
297 B
0
Indexable
Never
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