Skip to content

Example 2 - With FaunaDB real-time #13

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

Draft
wants to merge 18 commits into
base: with-local-storage
Choose a base branch
from

Conversation

Vadorequest
Copy link
Owner

@Vadorequest Vadorequest commented Mar 8, 2021

The canvas dataset is stored in FaunaDB.
Changes to the canvas are real-time and shared with everyone.
Everybody shares the same working document.

This branch is meant to be kept as an example. It is automatically deployed on Vercel, which allows us to have a dedicated deployment for this variant.

Demo: https://poc-nextjs-reaflow-git-with-faunadb-real-time-ambroise-dhenain.vercel.app

The demo is broken because it uses an old public key that's been deleted. It won't be fixed because there are a few infinite loop issues that got fixed in the next examples.


Known issues

Concurrent updates: There are a few issues due to concurrent updates overwriting each other (nodes content jumping). This issue has been solved in #12 using a queue of mutations but won't be backported to this example.

@vercel
Copy link

vercel bot commented Mar 8, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/ambroise-dhenain/poc-nextjs-reaflow/H3hEAc36vSdwoRgchvvDHAg8wSfL
✅ Preview: https://poc-nextjs-reaflow-git-with-faunadb-real-time-ambroise-dhenain.vercel.app

@Vadorequest Vadorequest closed this Mar 8, 2021
@Vadorequest Vadorequest reopened this Mar 8, 2021
@Vadorequest Vadorequest changed the base branch from main to with-local-storage March 8, 2021 18:34
@Vadorequest Vadorequest changed the title Example - With FaunaDB real-time Example 2 - With FaunaDB real-time Mar 10, 2021
Vadorequest and others added 2 commits March 12, 2021 01:57
# Conflicts:
#	src/components/Footer.tsx
#	src/components/Nav.tsx
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.

2 participants