Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store presence data inside ChannelProvider's context, so we don't have to refetch presence data for every listener #1686

Open
VeskeR opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement New feature or improved functionality.

Comments

@VeskeR
Copy link
Contributor

VeskeR commented Mar 12, 2024

See PR comment #1674 (comment).
See code in question from usePresence hook (or usePresenceListener after #1674 is merged):
https://github.com/ably/ably-js/blob/integration/v2/src/platform/react-hooks/src/hooks/usePresence.ts#L41C1-L51C58

┆Issue is synchronized with this Jira Story by Unito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improved functionality.
Development

No branches or pull requests

1 participant