@pravosleva/reactive-engine 0.2.6-beta → 0.2.7-beta
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 +3 -1
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# 🚀 ReactiveEngine Core Framework
|
|
2
2
|
A lightweight, type-safe reactive engine built with TypeScript, featuring Dependency Injection and seamless React integration.
|
|
3
3
|
|
|
4
|
+
https://t.me/bash_exp_ru/3393
|
|
5
|
+
|
|
4
6
|
```bash
|
|
5
7
|
yarn add @pravosleva/reactive-engine
|
|
6
8
|
```
|
|
@@ -86,7 +88,7 @@ The resource method automatically re-fetches data whenever its source dependency
|
|
|
86
88
|
```ts
|
|
87
89
|
this.userProfile = this.engine.resource(
|
|
88
90
|
async (id, signal) => {
|
|
89
|
-
const res = await fetch(`https://example.com{id}`, { signal });
|
|
91
|
+
const res = await fetch(`https://example.com/{id}`, { signal });
|
|
90
92
|
if (!res.ok) throw new Error('Not found');
|
|
91
93
|
return res.json();
|
|
92
94
|
},
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pravosleva/reactive-engine",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7-beta",
|
|
4
4
|
"description": "JS Reactive Engine",
|
|
5
5
|
"author": "Den Pol <selection4test@gmail.com> (https://pravosleva.pro)",
|
|
6
6
|
"homepage": "https://github.com/garage-13/reactive-engine",
|
|
7
7
|
"repository": "github:garage-13/reactive-engine",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"keywords": [
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
10
|
+
"reactive",
|
|
11
|
+
"engine",
|
|
12
|
+
"react",
|
|
13
|
+
"fast",
|
|
14
|
+
"state",
|
|
15
|
+
"manager"
|
|
14
16
|
],
|
|
15
17
|
"main": "./dist/index.cjs",
|
|
16
18
|
"module": "./dist/index.mjs",
|