Untitled
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