You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade prettier because the current version could not parse satisfies, which is a relatively new TypeScript feature.
Then apply code formatting. The new Prettier version seems to format .md files slightly differently
Copy file name to clipboardExpand all lines: readme.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,13 @@ Combine immer & y.js
9
9
10
10
[immer](https://github.com/immerjs/immer) is a library for easy immutable data manipulation using plain json structure. [y.js](https://github.com/yjs/yjs) is a CRDT library with mutation-based API. `immer-yjs` allows manipulating `y.js` data types with the api provided by `immer`.
11
11
12
-
-Two-way binding between y.js and plain (nested) json object/array.
13
-
-Efficient snapshot update with structural sharing, same as `immer`.
14
-
-Updates to `y.js` are explicitly batched in transaction, you control the transaction boundary.
15
-
-Always opt-in, non-intrusive by nature (the snapshot is just a plain object after all).
16
-
-The snapshot shape & y.js binding aims to be fully customizable.
17
-
-Typescript all the way (pure js is also supported).
18
-
-Code is simple and small, no magic hidden behind, no vendor-locking.
12
+
- Two-way binding between y.js and plain (nested) json object/array.
13
+
- Efficient snapshot update with structural sharing, same as `immer`.
14
+
- Updates to `y.js` are explicitly batched in transaction, you control the transaction boundary.
15
+
- Always opt-in, non-intrusive by nature (the snapshot is just a plain object after all).
16
+
- The snapshot shape & y.js binding aims to be fully customizable.
17
+
- Typescript all the way (pure js is also supported).
18
+
- Code is simple and small, no magic hidden behind, no vendor-locking.
19
19
20
20
Do:
21
21
@@ -131,7 +131,7 @@ Please submit with sample code by PR, helps needed.
131
131
132
132
Data will sync between multiple browser tabs automatically.
0 commit comments