@tilia/react 1.0.0 → 1.1.0

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 +8 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,10 +1,12 @@
1
1
  # Tilia React
2
2
 
3
- Tilia is a simple state management library for "FRP" style programming with React.
3
+ Tilia is a simple state management library for "FRP" style programming with
4
+ React.
4
5
 
5
6
  This package contains the hook for React.
6
7
 
7
- This package is compatible with _TypeScript_ and _ReScript_, you can find the examples for the latter at the end.
8
+ This package is compatible with _TypeScript_ and _ReScript_, you can find the
9
+ examples for the latter at the end.
8
10
 
9
11
  ## Installation
10
12
 
@@ -47,6 +49,10 @@ function Clouds(props: { clouds: MyState["clouds"] }) {
47
49
  }
48
50
  ```
49
51
 
52
+ Note that you can re-insert a tracked object inside the same tree and share
53
+ state and tracking.
54
+
55
+
50
56
  # ReScript example
51
57
 
52
58
  ```res
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tilia/react",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
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.0.0"
27
+ "@tilia/core": "^1.1.0"
28
28
  }
29
29
  }