state-jet 2.0.20 → 2.0.21

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 +10 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -11,6 +11,7 @@ For more details, see [here](https://statejet.netlify.app).
11
11
  - [Why state-jet](#why-state-jet)
12
12
  - [Documentation](#documentation)
13
13
  - [Installation](#installation)
14
+ - [Wiki](#wiki)
14
15
  - [GlobalState](#globalstate)
15
16
  - [Create GlobalState](#create-globalstate)
16
17
  - [Binding Global State to a Component](#binding-global-state-to-a-component)
@@ -38,10 +39,10 @@ For more details, see [here](https://statejet.netlify.app).
38
39
 
39
40
  ## Why state-jet
40
41
 
41
- - **No Context, No Providers** – Works outside React, reducing unnecessary re-renders.
42
- - **Automatic Re-Renders** – Only components using specific state values update.
43
- - **Super Lightweight** – Ultra small!
44
- - **SSR & Next.js Support** – Works on both client and server.
42
+ - **No Context, No Providers** – Works outside React, reducing unnecessary re-renders.
43
+ - **Automatic Re-Renders** – Only components using specific state values update.
44
+ - **Super Lightweight** – Ultra small!
45
+ - **SSR & Next.js Support** – Works on both client and server.
45
46
 
46
47
  ## Documentation
47
48
 
@@ -51,8 +52,6 @@ Tutorials: https://statejet.netlify.app/docs/tutorial/intro/
51
52
 
52
53
  API Reference: https://statejet.netlify.app/docs/api-reference/global-state/
53
54
 
54
- Wiki: https://deepwiki.com/venkateshsundaram/state-jet
55
-
56
55
  ## Installation
57
56
 
58
57
  The Statejet package lives in npm. Please see the [installation guide](https://statejet.netlify.app/docs/getting-started/installation-and-setup/).
@@ -75,6 +74,10 @@ Or if you're using `cdn`:
75
74
  <script src="https://cdn.jsdelivr.net/npm/state-jet@latest/dist/index.cjs"></script>
76
75
  ```
77
76
 
77
+ ## Wiki
78
+
79
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/venkateshsundaram/state-jet)
80
+
78
81
  ## GlobalState
79
82
 
80
83
  The `useStateGlobal` hook is the simplest entry point to State-Jet—-ideal for simple applications with minimal state management needs. It allows you to create stateful values that can be accessed and updated from any component in your application, regardless of their location in the component tree.
@@ -111,7 +114,7 @@ export default function Counter() {
111
114
 
112
115
  ## Slices
113
116
 
114
- Slices in state-jet represent logical groupings of state that help organize application data into manageable pieces. Unlike the global state approach which uses a single namespace, slices allow for partitioning state into named segments, making state management more modular and maintainable.
117
+ Slices in state-jet represent logical groupings of state that help organize application data into manageable pieces.
115
118
 
116
119
  ### Create Slice
117
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "state-jet",
3
- "version": "2.0.20",
3
+ "version": "2.0.21",
4
4
  "description": "Ultra-lightweight global state management for React",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",