You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
Write minimalistic, boilerplate free code that captures your intent. <br />
57
-
**For instance**
58
-
- Store State in Local Storage
55
+
<br />
56
+
57
+
58
+
<br />
59
+
<imgsrc="static/why_should_i_use_agile.png"alt="Why should I use AgileTs">
60
+
61
+
### 🚅 Straightforward
62
+
Write minimalistic, boilerplate free code that captures your intent.
63
+
64
+
**Some straightforward syntax examples:**
65
+
- Store a State in the Local Storage
59
66
```ts
60
67
MY_STATE.persist("storage-key")
61
68
```
62
-
-Reactive Collection of States
69
+
-Create a reactive Collection of States
63
70
```ts
64
71
const MY_COLLECTION =App.Collection();
65
72
MY_COLLECTION.collect({id: 1, name: "Frank"});
66
73
MY_COLLECTION.collect({id: 2, name: "Dieter"});
67
74
```
68
-
-Cool State checks and mutations
75
+
-Mutate or Check States with simple Functions
69
76
```ts
70
77
MY_STATE.undo(); // Undo last change
71
78
MY_STATE.is({hello: "jeff"}); // Check if State has the Value {hello: "jeff"}
72
79
```
73
80
74
-
#### 🤸 Flexible
75
-
Agile can be used in nearly every UI-Framework
76
-
and surly works with the workflow that suits you best,
77
-
since Agile isn't bound to _dispatches_, _reducers_, ..
81
+
### 🤸 Flexible
82
+
- Works in nearly every UI-Framework. Check [here](TODO) if the Framework you are using is supported, too.
83
+
- Surly behaves with the workflow that suits you best.
84
+
No need for _reducers_, _actions_, ..
85
+
- Has **no** external dependencies
78
86
79
-
#### 🎯 Easy to Use
80
-
Learn the powerful and simple tools of Agile in a short amount of time.
87
+
### 🌌 Centralize
88
+
Manage your Application Logic in a central place outside any UI-Framework.
89
+
This makes your code more decoupled, portable, and above all, easily testable.
81
90
82
-
#### ⛳️ Centralize
83
-
Manage your Application Logic outside of any UI-Framework in a central place.
84
-
This makes your code more decoupled, portable, and above all, easily testable.
91
+
###🎯 Easy to Use
92
+
Learn the powerful tools of AgileTs in a short amount of time.
93
+
A good place to start is in our [documentation](https://agile-ts.org/docs).
85
94
86
-
####🍃 Lightweight
87
-
Agile has an unpacked size of [52.7kB](https://bundlephobia.com/result?p=@agile-ts/core@0.0.6)
95
+
### 🍃 Lightweight
96
+
AgileTs has an unpacked size of [52.7kB](https://bundlephobia.com/result?p=@agile-ts/core@0.0.6)
88
97
and [0 dependencies](https://www.npmjs.com/package/@agile-ts/core).
89
98
90
99
91
-
## ⬇️ Installation
92
-
```
93
-
npm install @agile-ts/core
94
-
```
95
-
To use Agile we have to install the _core_ package, it's the brain and handles your States, Collections, ..
96
100
<br />
97
-
```
98
-
npm install @agile-ts/react
99
-
```
100
-
In addition, we need to install a _fitting integration_ for the Framework we are using.. in my case [React](https://www.npmjs.com/package/@agile-ts/react).
101
101
102
102
103
-
## 📄 Documentation
104
-
The Agile Docs are located [here](https://agile-ts.org/docs/)
|[@agile-ts/core](/packages/core)|[](https://www.npmjs.com/package/@agile-ts/core)| Brain of Agile |
@@ -113,9 +150,10 @@ The Agile Docs are located [here](https://agile-ts.org/docs/)
113
150
|[@agile-ts/multieditor](/packages/multieditor)|[](https://www.npmjs.com/package/@agile-ts/multieditor)| Simple Form Manager |
114
151
115
152
116
-
## 👨💻 Contribute
117
-
Feel free to contribute
153
+
<br />
154
+
118
155
156
+
<br />
157
+
<imgsrc="static/credits_header.png"alt="Packages of Agile">
119
158
120
-
## 🌠 Credits
121
159
AgileTs is inspired by [PulseJs](https://github.com/pulse-framework/pulse)
0 commit comments