Last active
June 22, 2021 14:17
-
-
Save velotiotech/ec1e994203ee2311b697556e8b6a60b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.addEventListener('load', () => { | |
const ydoc = new Y.Doc(); | |
const provider = new WebsocketProvider('ws://localhost:3312', 'velotio-demo', ydoc); | |
const type = ydoc.getText('Velotio-Blog'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment