Yjs
@lexical/yjs
The library provides Yjs editor bindings for Lexical.
Rich Text
react
lexical
editor
rich-text
colllaboration
yjs
crdt
@lexical/yjs
Rich Text
javascript
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @lexical/yjsCode example
import { Yjs } from "@lexical/yjs";
export function Example() {
return (
<div>
<h2>Yjs</h2>
<Yjs />
</div>
);
}Pros & cons
Pros
- Actively maintained by fantactuka
- 0 weekly downloads. Battle tested
- First-class TypeScript definitions
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub