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

add new guides #8474

Merged
merged 12 commits into from
Aug 18, 2022
Merged

add new guides #8474

merged 12 commits into from
Aug 18, 2022

Conversation

inian
Copy link
Member

@inian inian commented Aug 18, 2022

No description provided.

@vercel
Copy link

vercel bot commented Aug 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
reference-docs ✅ Ready (Inspect) Visit Preview Aug 18, 2022 at 10:47AM (UTC)
4 Ignored Deployments
Name Status Preview Updated
about ⬜️ Ignored (Inspect) Aug 18, 2022 at 10:47AM (UTC)
new-docs ⬜️ Ignored (Inspect) Aug 18, 2022 at 10:47AM (UTC)
zone-www-dot-com ⬜️ Ignored (Inspect) Aug 18, 2022 at 10:47AM (UTC)
zones-docs ⬜️ Ignored (Inspect) Aug 18, 2022 at 10:47AM (UTC)

Copy link
Member

@w3b6x9 w3b6x9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Copy link

@dannykng dannykng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted a few minor things but looks good—thanks for adding this!

apps/reference/docs/guides/realtime/broadcast.mdx Outdated Show resolved Hide resolved
apps/reference/docs/guides/realtime/broadcast.mdx Outdated Show resolved Hide resolved
@kiwicopple kiwicopple enabled auto-merge August 18, 2022 10:44
@kiwicopple kiwicopple merged commit 3ea3c15 into master Aug 18, 2022
@kiwicopple kiwicopple deleted the add-guides branch August 18, 2022 10:45

The `sync` event is triggered whenever the shared state changes. The `join` event is triggered when a new client joins the channel and `leave` when a client leaves.

Each client can use the `track` method to store an object in the shared state. Each client can only track one object in the shared state. If `track` is called again by the same client, then the new object will overwrite the previously tracked object in the shared state.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@inian 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants