loro/loro-js
Zixuan Chen 9ecc0a90b1
refactor!: Add prelim support, making creating sub container easier (#300)
This PR includes a BREAKING CHANGE.

It enables you to create containers before attaching them to the document, making the API more intuitive and straightforward.

A container can be either attached to a document or detached. When it's detached, its history/state does not persist. You can attach a container to a document by inserting it into an attached container. Once a container is attached, its state, along with all of its descendants's states, will be recreated in the document. After attaching, the container and its descendants, will each have their corresponding "attached" version of themselves?

When a detached container x is attached to a document, you can use x.getAttached() to obtain the corresponding attached container.
2024-03-30 11:38:24 +08:00
..
.vscode feat: event & wasm 2023-07-29 02:03:51 +08:00
src refactor!: Add prelim support, making creating sub container easier (#300) 2024-03-30 11:38:24 +08:00
tests refactor!: Add prelim support, making creating sub container easier (#300) 2024-03-30 11:38:24 +08:00
.gitignore Doc: loro-crdt documents in comments (#165) 2023-11-10 20:30:54 +08:00
.npmignore chore: bump loro-wasm loro-crdt version 2023-11-10 20:41:11 +08:00
CHANGELOG.md chore: bump loro-crdt to v0.12.0 2024-03-27 23:53:34 +08:00
LICENSE chore: add license 2023-11-12 23:23:12 +08:00
package.json chore: Update VSCode settings and dependencies (#299) 2024-03-30 06:53:22 +08:00
pnpm-lock.yaml Perf: speed up utf16 and wasm (#90) 2023-04-03 09:29:25 +08:00
README.md chore: bump loro-wasm loro-crdt version 2023-11-10 20:41:11 +08:00
rollup.config.mjs feat: extra pkg loro-crdt to wrap loro-wasm 2023-03-24 10:08:11 +08:00
tsconfig.json refactor!: Add prelim support, making creating sub container easier (#300) 2024-03-30 11:38:24 +08:00
vite.config.ts Refactor: use ValueOrContainer for diff event (#202) 2023-12-05 11:57:41 +08:00

loro-crdt

Loro CRDTs is a high-performance CRDT framework.

It makes your app state synchronized, collaborative and maintainable effortlessly.

Learn more at https://loro.dev