@liveblocks/react 1.0.2-test4 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -8
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
</a>
|
|
22
22
|
</p>
|
|
23
23
|
|
|
24
|
-
A set of [React](https://reactjs.org/) hooks and providers to use
|
|
24
|
+
A set of [React](https://reactjs.org/) hooks and providers to use
|
|
25
|
+
[Liveblocks](https://liveblocks.io) declaratively.
|
|
25
26
|
|
|
26
27
|
## Installation
|
|
27
28
|
|
|
@@ -31,25 +32,33 @@ npm install @liveblocks/client @liveblocks/react
|
|
|
31
32
|
|
|
32
33
|
## Documentation
|
|
33
34
|
|
|
34
|
-
Read the [documentation](https://liveblocks.io/docs) for guides and API
|
|
35
|
+
Read the [documentation](https://liveblocks.io/docs) for guides and API
|
|
36
|
+
references.
|
|
35
37
|
|
|
36
38
|
## Examples
|
|
37
39
|
|
|
38
|
-
Explore our [collaborative examples](https://liveblocks.io/examples) to help you
|
|
40
|
+
Explore our [collaborative examples](https://liveblocks.io/examples) to help you
|
|
41
|
+
get started.
|
|
39
42
|
|
|
40
|
-
> All examples are open-source and live in this repository, within
|
|
43
|
+
> All examples are open-source and live in this repository, within
|
|
44
|
+
> [`/examples`](../../examples).
|
|
41
45
|
|
|
42
46
|
## Releases
|
|
43
47
|
|
|
44
|
-
See the [latest changes](https://github.com/liveblocks/liveblocks/releases) or
|
|
48
|
+
See the [latest changes](https://github.com/liveblocks/liveblocks/releases) or
|
|
49
|
+
learn more about
|
|
50
|
+
[upcoming releases](https://github.com/liveblocks/liveblocks/milestones).
|
|
45
51
|
|
|
46
52
|
## Community
|
|
47
53
|
|
|
48
|
-
- [Discord](https://
|
|
49
|
-
|
|
54
|
+
- [Discord](https://liveblocks.io/discord) - To get involved with the Liveblocks
|
|
55
|
+
community, ask questions and share tips.
|
|
56
|
+
- [Twitter](https://twitter.com/liveblocks) - To receive updates, announcements,
|
|
57
|
+
blog posts, and general Liveblocks tips.
|
|
50
58
|
|
|
51
59
|
## License
|
|
52
60
|
|
|
53
|
-
Licensed under the Apache License 2.0, Copyright © 2021-present
|
|
61
|
+
Licensed under the Apache License 2.0, Copyright © 2021-present
|
|
62
|
+
[Liveblocks](https://liveblocks.io).
|
|
54
63
|
|
|
55
64
|
See [LICENSE](../../LICENSE) for more information.
|
package/dist/index.js
CHANGED
|
@@ -123,8 +123,8 @@ function createRoomContext(client) {
|
|
|
123
123
|
() => client.enter(roomId, {
|
|
124
124
|
initialPresence: frozen.initialPresence,
|
|
125
125
|
initialStorage: frozen.initialStorage,
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
shouldInitiallyConnect: frozen.shouldInitiallyConnect,
|
|
127
|
+
unstable_batchedUpdates: frozen.unstable_batchedUpdates
|
|
128
128
|
})
|
|
129
129
|
);
|
|
130
130
|
React2.useEffect(() => {
|
|
@@ -132,8 +132,8 @@ function createRoomContext(client) {
|
|
|
132
132
|
client.enter(roomId, {
|
|
133
133
|
initialPresence: frozen.initialPresence,
|
|
134
134
|
initialStorage: frozen.initialStorage,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
shouldInitiallyConnect: frozen.shouldInitiallyConnect,
|
|
136
|
+
unstable_batchedUpdates: frozen.unstable_batchedUpdates
|
|
137
137
|
})
|
|
138
138
|
);
|
|
139
139
|
return () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liveblocks/react",
|
|
3
|
-
"version": "1.0.2
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A set of React hooks and providers to use Liveblocks declaratively. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"test:watch": "jest --silent --verbose --color=always --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@liveblocks/client": "1.0.2
|
|
24
|
-
"@liveblocks/core": "1.0.2
|
|
23
|
+
"@liveblocks/client": "1.0.2",
|
|
24
|
+
"@liveblocks/core": "1.0.2",
|
|
25
25
|
"use-sync-external-store": "^1.2.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|