@axi-engine/fields 0.1.4 → 0.2.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.
- package/README.md +13 -7
- package/dist/index.d.mts +644 -217
- package/dist/index.d.ts +644 -217
- package/dist/index.js +705 -397
- package/dist/index.mjs +686 -378
- package/package.json +3 -9
package/README.md
CHANGED
|
@@ -3,16 +3,22 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@axi-engine/fields)
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
A hierarchical, reactive state management library for Axi Engine, built on top of Preact Signals.
|
|
7
|
-
|
|
8
6
|
## Description
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
Description
|
|
9
|
+
|
|
10
|
+
This package offers a compact yet robust solution for state management.
|
|
11
|
+
Designed with minimal dependencies, it serves as a core component of the axi-engine
|
|
12
|
+
but is also powerful enough to be used as a standalone library in any TypeScript project.
|
|
13
|
+
|
|
14
|
+
At its core, the library allows you to create, manage, and observe your application's state.
|
|
15
|
+
The system is built around a tree-like hierarchy (FieldTree), where individual data points (Field) are reactive signals.
|
|
16
|
+
This makes it the ideal central hub for all persistent data, such as player stats, inventory, quest flags, and more.
|
|
17
|
+
|
|
18
|
+
Please note that this package is under active development.
|
|
19
|
+
The API, features, and documentation will be gradually expanded and improved.
|
|
15
20
|
|
|
21
|
+
## How to use
|
|
16
22
|
|
|
17
23
|
|
|
18
24
|
```bash
|