useDailyEvents not emitting "joined-meeting" event on Call.js view
Daniel808
Member
in Discussion
Hi,
using the daily react hooks, the useDailyEvents hook is not emitting the "joined-meeting" event on the Call.js view.
I tested this behaviour with the actual repository, and latest versions:
"@daily-co/daily-js": "^0.44.1",
"@daily-co/daily-react": "^0.7.3"
Thanks
0
Comments
-
Hi @Daniel808,
this sounds like the
Call
component, where the event listener is being setup from, might be rendered after thejoined-meeting
event was already emitted.Can you verify the event is emitted in a component higher up in the component tree?
It's important to know that event listeners setup using the
useDailyEvent
anduseThrottledDailyEvent
hooks are time-sensitive, meaning that they are setup at the time the component or hook using them renders.0