@biglogic/rgs 3.5.0 → 3.5.1
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 +36 -5
- package/SECURITY.md +1 -1
- package/package.json +2 -2
- package/rgs-extension.vsix +0 -0
package/README.md
CHANGED
|
@@ -1,16 +1,30 @@
|
|
|
1
|
-
# Argis (RGS) -
|
|
1
|
+
# Argis (RGS) - Reactive Global State
|
|
2
2
|
|
|
3
|
-
> **Atomic Precision. Immutable Safety. Zen Simplicity.**
|
|
3
|
+
> "The Magnetar" **Atomic Precision. Immutable Safety. Zen Simplicity.**
|
|
4
4
|
> The most powerful state management engine for React. Built for those who demand industrial-grade reliability with a zero-boilerplate experience.
|
|
5
5
|
|
|
6
|
-
[](https://badge.fury.io/js/rgs)
|
|
7
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://npmjs.org/package/@biglogic/rgs)
|
|
8
|
+
[](https://npmjs.org/package/@biglogic/rgs)
|
|
9
|
+
|
|
10
|
+

|
|
11
|
+

|
|
12
|
+

|
|
13
|
+

|
|
14
|
+

|
|
15
|
+

|
|
16
|
+

|
|
17
|
+
|
|
18
|
+

|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
<!-- [](https://a51.gitbook.io/rgs) -->
|
|
8
22
|
|
|
9
23
|
---
|
|
10
24
|
|
|
11
25
|
## 🌟 Why Magnetar?
|
|
12
26
|
|
|
13
|
-
We took the simplicity of **
|
|
27
|
+
We took the simplicity of **Reactive Global State (RGS)** and fused it with the architecture of a **High-Performance Kernel**. It's the only library that gives you:
|
|
14
28
|
|
|
15
29
|
- **💎 Absolute Immutability**: Powered by **Immer**. No more manual spreads. State is frozen by default.
|
|
16
30
|
- **🛡️ Industrial-Grade Safety**: Deep Proxy guards that throw `Forbidden Mutation` errors if you try to bypass the kernel.
|
|
@@ -47,7 +61,24 @@ We took the simplicity of **React Globo State (RGS)** and fused it with the arch
|
|
|
47
61
|
|
|
48
62
|
---
|
|
49
63
|
|
|
50
|
-
|
|
64
|
+
## ⚔️ The Arena: RGS vs The World
|
|
65
|
+
|
|
66
|
+
|Feature|**RGS (Argis)**|Zustand|Redux Toolkit|Recoil|
|
|
67
|
+
|:---|:---|:---|:---|:---|
|
|
68
|
+
| **Philosophy** | **Zen State** | Minimalist | Enterprise Flux | Atomic |
|
|
69
|
+
| **API Surface** | **1 Function** | Simple | Complex | Complex |
|
|
70
|
+
| **Mutations** | **Magic (Immer)** | Manual Spreads | Magic (Immer) | Manual |
|
|
71
|
+
| **Selectors** | ✅ **Type-Safe** | ✅ Functional | ✅ Functional | ⚠️ Selectors |
|
|
72
|
+
| **Security** | 🛡️ **AES-256 + RBAC** | ❌ None | ❌ Ecosystem | ❌ None |
|
|
73
|
+
| **Persistence** | 💾 **First-class** | 🔌 Middleware | 🔌 Middleware | 🔌 Effects |
|
|
74
|
+
| **Async** | ✅ **Atomic** | ✅ Async/Await | ✅ Thunks | ✅ Suspense |
|
|
75
|
+
| **Bundle Size** | **~2kB** | ~1kB | >10kB | >20kB |
|
|
76
|
+
|
|
77
|
+
> **RGS** is the only library on the market that treats **Security** and **Persistence** as first-class citizens.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
### Installation
|
|
51
82
|
|
|
52
83
|
```shell
|
|
53
84
|
npm install @biglogic/rgs
|
package/SECURITY.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Security
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Reactive Global State (RGS) implements enterprise-grade security including AES-256-GCM encryption, RBAC, and internal XSS sanitization as a secondary defense layer.
|
|
4
4
|
|
|
5
5
|
## Reporting a Vulnerability
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biglogic/rgs",
|
|
3
|
-
"version": "3.5.
|
|
4
|
-
"description": "Argis (RGS) -
|
|
3
|
+
"version": "3.5.1",
|
|
4
|
+
"description": "Argis (RGS) - Reactive Global State: A react state everywhere made easy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"rgs",
|
package/rgs-extension.vsix
CHANGED
|
Binary file
|