Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Conversation

gewenyu99
Copy link
Contributor

This is another item I discussed with @Meldiron.

The idea behind this PR is the first example in the real-time guide should be copy-paste friendly, so users can get something to happen immediately. This attempts to do this by using examples similar to the end of the getting started guides.

Lmk if you guys also think this would improve reader experience. I think it help build confidence to have working examples right at the beginning :)

@gewenyu99
Copy link
Contributor Author

Screen Shot 2022-05-06 at 12 26 08 PM

@gewenyu99
Copy link
Contributor Author

✅ Tested Example for Web

@gewenyu99 gewenyu99 changed the title [WIP] Make realtime example copy-pasteable Make realtime example copy-pasteable May 6, 2022
@gewenyu99
Copy link
Contributor Author

@abnegate Can you take a look at the Android and Swift examples to make sure they look right? <3

Copy link
Contributor

@Meldiron Meldiron left a comment

Choose a reason for hiding this comment

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

Can we please look at the consistency of this file? Somewhere we do [HOSTNAME_OR_IP], somewhere we do localhost. Somewhere it is response, somewhere params. Somewhere we do Realtime(client: client), somewhere just Realtime(client).

@TorstenDittmann TorstenDittmann merged commit f8ef250 into main May 12, 2022
@TorstenDittmann TorstenDittmann deleted the real-time-functioning-example branch May 12, 2022 16:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants