@tilia/react 1.1.0 → 1.1.1-canary.20241223T161043

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.
Files changed (2) hide show
  1. package/README.md +16 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -52,11 +52,9 @@ function Clouds(props: { clouds: MyState["clouds"] }) {
52
52
  Note that you can re-insert a tracked object inside the same tree and share
53
53
  state and tracking.
54
54
 
55
-
56
55
  # ReScript example
57
56
 
58
57
  ```res
59
- open TiliaCore
60
58
  open JsxEvent.Form
61
59
 
62
60
  type clouds = {
@@ -69,7 +67,7 @@ type state = {
69
67
  }
70
68
 
71
69
  // Create a tracked object or array:
72
- let tree = make({
70
+ let tree = Tilia.make({
73
71
  flowers: "are beautiful",
74
72
  clouds: { morning: "can be pink", evening: "can be orange" },
75
73
  })
@@ -96,3 +94,18 @@ let make(~clouds: clouds) {
96
94
  </div>
97
95
  }
98
96
  ```
97
+
98
+ Please check the documentation for [@tilia/core](../core/README.md) for technical details on how tracking is done.
99
+
100
+ ## Little sandbox examples
101
+
102
+ - [An input field](https://codesandbox.io/p/sandbox/react-ts)
103
+
104
+ ### Changelog
105
+
106
+ - 2024-12-18 **1.2.2** Fix readonly tracking: should not proxy.
107
+ - 2024-12-18 **1.2.1** Fix bug to not track prototype methods.
108
+ - 2024-12-18 **1.2.0** Improve ownKeys watching, notify on key deletion.
109
+ - 2024-12-18 **1.1.1** Fix build issue (rescript was still required)
110
+ - 2024-12-17 **1.1.0** Add support to share tracking between branches.
111
+ - 2024-12-13 **1.0.0** Alpha release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilia/react",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-canary.20241223T161043",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -24,6 +24,6 @@
24
24
  "react": "*"
25
25
  },
26
26
  "dependencies": {
27
- "@tilia/core": "^1.1.0"
27
+ "@tilia/core": "1.2.3-canary.20241223T161042"
28
28
  }
29
29
  }