Skip to main content

Libraries

  • @veltdev/reactflow-crdt
4.5.7
October 31, 2025

Bug Fixes

  • [Core]: Fixed initialContent not being applied when no server-side data exists. You can now set initialEdges and initialNodes in ReactFlow CRDT, and they will be used when the document is empty.
  • React / Next.js
  • Other Frameworks
const { nodes, edges, onNodesChange, onEdgesChange, onConnect } = useVeltReactFlowCrdtExtension({
    editorId: "UNIQUE_EDITOR_ID",
    initialEdges: [
        {
            id: "edge1",
            source: "node1",
            target: "node2",
        },
    ],
    initialNodes: [
        {
            id: "node1",
            type: 'input',
            data: { label: `Node 1` },
            position: { x: 0, y: 50 },
        },
        {
            id: "node2",
            type: 'default',
            data: { label: `Node 2` },
            position: { x: 0, y: 150 },
        }
    ],
});
4.5.0-beta.6
September 2, 2025

New Features

  • [Core]: Optimized the library to reduce the implementation code by 95%.
4.5.0-beta.3
August 28, 2025

Bug Fixes

  • [Core]: Fixed an issue where last keystroke was not synced in some cases. Also fixed synchronization issues with React Flow nodes and edges.
4.5.0-beta.1
August 11, 2025

New Features

  • [Core]: Introduced purpose built CRDT library for React Flow Editor to enable multiplayer editing. This is based on the Yjs library. Learn more.