© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
1 reply
yesmeno

Why does the PresenceState contain a list of Presence for each entry?

The type is:

export type PresenceState = { [key: string]: Presence[] }
export type PresenceState = { [key: string]: Presence[] }


I tried it, and when I open multiple windows, it just adds a new entry in the
PresenceState
PresenceState
Object, so why is there a list of
Presence[]
Presence[]
for each key?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Limit select for each entry in "in"
SupabaseSSupabase / help-and-questions
3y ago
How does presence track works?
SupabaseSSupabase / help-and-questions
4y ago
Presence
SupabaseSSupabase / help-and-questions
4y ago
How to create a new entry on the user_logs table on each user login?
SupabaseSSupabase / help-and-questions
3y ago