Skip to content

[lexical-website] Chore: add example for how to bootstrap collab ydoc on the server#7830

Merged
etrepum merged 3 commits intofacebook:mainfrom
james-atticus:patch-1
Sep 25, 2025
Merged

[lexical-website] Chore: add example for how to bootstrap collab ydoc on the server#7830
etrepum merged 3 commits intofacebook:mainfrom
james-atticus:patch-1

Conversation

@james-atticus
Copy link
Copy Markdown
Contributor

Description

shouldBootstrap is not recommended for use, but there's currently no examples of how to bootstrap a document on the server. This change adds a basic example to the website docs.

Split out from https://github.com/facebook/lexical/pull/7616/files#r2360141159

@vercel
Copy link
Copy Markdown

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
lexical Ready Ready Preview Comment Sep 25, 2025 3:34am
lexical-playground Ready Ready Preview Comment Sep 25, 2025 3:34am

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 19, 2025
etrepum
etrepum previously approved these changes Sep 19, 2025
Copy link
Copy Markdown
Collaborator

@etrepum etrepum left a comment

Choose a reason for hiding this comment

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

This is definitely an improvement but I think the real win would be a runnable examples/* project that has a full stack project with a websocket server that uses this bootstrap function (or perhaps refactor one of the existing collab examples accordingly)

@etrepum etrepum added this pull request to the merge queue Sep 25, 2025
Merged via the queue into facebook:main with commit 42b4fa6 Sep 25, 2025
37 checks passed
@etrepum etrepum mentioned this pull request Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants