From 15ea4ee8054d866f9d35d6e52eef43098efe9964 Mon Sep 17 00:00:00 2001 From: Daishi Kato Date: Sun, 25 Jul 2021 10:08:43 +0900 Subject: [PATCH 1/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cc1c5136..074a5c0f 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,7 @@ are implemented in separate modules. | [CodeMirror](https://codemirror.net/) | ✔ | [y-codemirror](https://github.com/yjs/y-codemirror) | [demo](https://demos.yjs.dev/codemirror/codemirror.html) | | [Monaco](https://microsoft.github.io/monaco-editor/) | ✔ | [y-monaco](https://github.com/yjs/y-monaco) | [demo](https://demos.yjs.dev/monaco/monaco.html) | | [Slate](https://github.com/ianstormtaylor/slate) | ✔ | [slate-yjs](https://github.com/bitphinix/slate-yjs) | [demo](https://bitphinix.github.io/slate-yjs-example) | +| [valtio](https://github.com/pmndrs/valtio) | | [valtio-yjs](https://github.com/dai-shi/valtio-yjs) | [demo](https://codesandbox.io/s/valtio-yjs-demo-ox3iy) | ### Providers From 7ec1b3a19eecb055d2ae98375648042066ef3ba4 Mon Sep 17 00:00:00 2001 From: vivaxy Date: Mon, 9 Aug 2021 19:33:45 +0800 Subject: [PATCH 2/2] docs: update an algorithm example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc1c5136..f08ce417 100644 --- a/README.md +++ b/README.md @@ -988,7 +988,7 @@ order of the structs anymore (e.g. if the parent was deleted). **Examples:** 1. If a user inserts elements in sequence, the struct will be merged into a - single struct. E.g. `array.insert(0, ['a']), array.insert(0, ['b']);` is + single struct. E.g. `text.insert(0, 'a'), text.insert(1, 'b');` is first represented as two structs (`[{id: {client, clock: 0}, content: 'a'}, {id: {client, clock: 1}, content: 'b'}`) and then merged into a single struct: `[{id: {client, clock: 0}, content: 'ab'}]`.