@t8/react-store 1.0.34 → 1.0.35

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 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,10 +1,8 @@
1
- [![npm](https://flat.badgen.net/npm/v/@t8/react-store?labelColor=345&color=46e)](https://www.npmjs.com/package/@t8/react-store) ![Lightweight](https://flat.badgen.net/bundlephobia/minzip/@t8/react-store/?label=minzip&labelColor=345&color=46e) ![TypeScript ✓](https://flat.badgen.net/badge/TypeScript/✓?labelColor=345&color=345) ![CSR ✓](https://flat.badgen.net/badge/CSR/✓?labelColor=345&color=345) ![SSR ✓](https://flat.badgen.net/badge/SSR/✓?labelColor=345&color=345)
1
+ # T8 React Store
2
2
 
3
- # @t8/react-store
3
+ *`useState()`-like React app state management*
4
4
 
5
- *Concise shared state management for React apps*
6
-
7
- 🔹 Similar to `useState()`
5
+ [![npm](https://img.shields.io/npm/v/@t8/react-store?labelColor=345&color=46e)](https://www.npmjs.com/package/@t8/react-store) ![Lightweight](https://img.shields.io/bundlephobia/minzip/@t8/react-store?label=minzip&labelColor=345&color=46e) ![CSR ✓](https://img.shields.io/badge/CSR-✓-345?labelColor=345) ![SSR ✓](https://img.shields.io/badge/SSR-✓-345?labelColor=345)
8
6
 
9
7
  ```diff
10
8
  + let store = new Store(0);
@@ -21,9 +19,11 @@
21
19
  };
22
20
  ```
23
21
 
24
- 🔹 No boilerplate<br>
25
- 🔹 Painless transition from local state<br>
26
- 🔹 SSR- and CSR-compatible
22
+ - Similar to `useState()`
23
+ - No boilerplate
24
+ - Quick transition from local state
25
+ - Easily integrates with Immer
26
+ - SSR- and CSR-compatible
27
27
 
28
28
  Installation: `npm i @t8/react-store`
29
29
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@t8/react-store",
3
- "version": "1.0.34",
4
- "description": "Concise shared state management for React apps",
3
+ "version": "1.0.35",
4
+ "description": "useState()-like React app state management",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "type": "module",
@@ -46,6 +46,6 @@
46
46
  "typescript": "^5.9.3"
47
47
  },
48
48
  "dependencies": {
49
- "@t8/store": "^1.1.8"
49
+ "@t8/store": "^1.1.10"
50
50
  }
51
51
  }