AgoraIO-Extensions / AgoraIO-Extensions/agora-rtc-react

Re-render causes disconnect

Aperta
#210 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
help wanted
Lingua principale
TypeScript
Stelle
41
Fork
14
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What kind of problem do you need help?

When I have 2 components (Like in this example: https://www.agora.io/en/blog/agora-react-sdk-build-a-video-conferencing-app-in-minutes/):
1. Parent holding agora client
2. Child using agora client to do a video call

When the parent re-renders, the connection state of the agora client is reset to `DISCONNECTED` and the user gets disconnected.

What can I do to solve this issue?

Thanks for your help :)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.