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.
<imgsrc="https://raw.githubusercontent.com/agile-ts/agile/master/static/why_should_i_use_agile.png"alt="Why should I use AgileTs?"/>
52
65
53
-
## ❓ Why AgileTs
66
+
### 🚅 Straightforward
67
+
Write minimalistic, boilerplate free code that captures your intent.
54
68
55
-
#### 🚅 Straightforward
56
-
Write minimalistic, boilerplate free code that captures your intent. <br />
57
-
**For instance**
58
-
- Store State in Local Storage
69
+
**Some straightforward syntax examples:**
70
+
- Store State in the Local Storage
59
71
```ts
60
72
MY_STATE.persist("storage-key")
61
73
```
62
-
-Reactive Collection of States
74
+
-Create reactive Collection of States
63
75
```ts
64
76
const MY_COLLECTION =App.Collection();
65
77
MY_COLLECTION.collect({id: 1, name: "Frank"});
66
78
MY_COLLECTION.collect({id: 2, name: "Dieter"});
67
79
```
68
-
-Cool State checks and mutations
80
+
-Mutate or Check States with simple Functions
69
81
```ts
70
82
MY_STATE.undo(); // Undo last change
71
83
MY_STATE.is({hello: "jeff"}); // Check if State has the Value {hello: "jeff"}
72
84
```
73
85
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_, ..
86
+
### 🤸 Flexible
87
+
- Works in nearly every UI-Framework. Check [here](https://agile-ts.org/docs/frameworks) if the Framework you are using is supported, too.
88
+
- Surly behaves with the workflow that suits you best.
89
+
No need for _reducers_, _actions_, ..
90
+
- Has **no** external dependencies
78
91
79
-
#### 🎯 Easy to Use
80
-
Learn the powerful and simple tools of Agile in a short amount of time.
92
+
### 🌌 Centralize
93
+
Manage your Application Logic in a central place outside any UI-Framework.
94
+
This makes your code more decoupled, portable, and above all, easily testable.
81
95
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.
96
+
###🎯 Easy to Use
97
+
Learn the powerful tools of AgileTs in a short amount of time.
98
+
A good place to start is in our [documentation](https://agile-ts.org/docs).
85
99
86
-
####🍃 Lightweight
87
-
Agile has an unpacked size of [52.7kB](https://bundlephobia.com/result?p=@agile-ts/[email protected])
100
+
### 🍃 Lightweight
101
+
AgileTs has an unpacked size of [52.7kB](https://bundlephobia.com/result?p=@agile-ts/[email protected])
88
102
and [0 dependencies](https://www.npmjs.com/package/@agile-ts/core).
89
103
90
104
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
105
<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
106
102
107
103
-
## 📄 Documentation
104
-
The Agile Docs are located [here](https://agile-ts.org/docs/)
Get a part of AgileTs and start contributing. To find out more read the [CONTRIBUTING.md](https://github.com/agile-ts/agile/blob/master/CONTRIBUTING.md).
144
+
145
+
146
+
<br />
147
+
148
+
149
+
<br />
150
+
<imgsrc="https://raw.githubusercontent.com/agile-ts/agile/master/static/packages_of_agile.png"alt="Packages of Agile"/>
|[@agile-ts/core](/packages/core)|[](https://www.npmjs.com/package/@agile-ts/core)| Brain of Agile |
@@ -113,9 +157,10 @@ The Agile Docs are located [here](https://agile-ts.org/docs/)
113
157
|[@agile-ts/multieditor](/packages/multieditor)|[](https://www.npmjs.com/package/@agile-ts/multieditor)| Simple Form Manager |
0 commit comments