[DIS-759] [DIS-758] Refactor presence listener and associated hook
paulgb opened this issue · comments
- On the vanilla JS side, we should separate the behavior of subscribing to presence from providing our own presence.
- On the React hook side, we should consider returning a callback instead of updating state when it is passed in through props.