@@ -55,15 +55,15 @@ const MY_FIRST_STATE = App.createState("Hello Friend!");
5555// And wolla, it's reactive. Everytime the State mutates the Component rerenders
5656const myFirstState = useAgile (MY_FIRST_STATE ); // Returns value of State ("Hello Friend!")
5757```
58- To learn out more, check out our [ Quick Start Guides] ( https://agile-ts.org/docs/Installation.md ) .
58+ Want to learn more? Check out our [ Quick Start Guides] ( https://agile-ts.org/docs/Installation.md ) .
5959
6060### ⛳️ Sandbox
6161Test AgileTs yourself in a [ codesandbox] ( https://codesandbox.io/s/agilets-first-state-f12cz ) .
6262It's only one click away. Just select your preferred Framework below.
6363
6464- [ React] ( https://codesandbox.io/s/agilets-first-state-f12cz )
6565- [ React-Native] ( https://snack.expo.io/@bennodev/agilets-first-state )
66- - Vue (coming soon )
66+ - [ Vue] ( https://codesandbox.io/s/agilets-first-state-i5xxs )
6767- Angular (coming soon)
6868
6969More examples can be found in the [ Example Section] ( https://agile-ts.org/docs/examples ) .
@@ -76,22 +76,23 @@ More examples can be found in the [Example Section](https://agile-ts.org/docs/ex
7676<img src =" https://raw.githubusercontent.com/agile-ts/agile/master/static/why_should_i_use_agile.png " alt =" Why should I use AgileTs? " />
7777
7878AgileTs is a global, simple, well-tested State Management Framework implemented in Typescript.
79- It offers a reimagined API that focuses on ** developer experience** and allows you to ** quickly** and ** easily** manage your States.
79+ It offers a reimagined API that focuses on ** developer experience**
80+ and allows you to ** easily** manage your States.
8081Besides States, AgileTs offers some other powerful APIs that make your life easier.
8182The philosophy behind AgileTs is simple:
8283
8384### 🚅 Straightforward
8485Write minimalistic, boilerplate-free code that captures your intent.
86+ ``` ts
87+ MY_STATE .set (' jeff' ); // Update State value
88+ MY_STATE .undo (); // Undo latest State value change
89+ MY_STATE .is ({hello: " jeff" }); // Check if State has the value '{hello: "jeff"}'
90+ MY_STATE .watch ((value ) => {console .log (value );}); // Watch on State changes
91+ ```
8592
86- ** Some straightforward syntax examples:**
93+ ** Some more straightforward syntax examples:**
8794
88- - Mutate and Check States with simple Functions
89- ``` ts
90- MY_STATE .undo (); // Undo latest change
91- MY_STATE .is ({hello: " jeff" }); // Check if State has the Value '{hello: "jeff"}'
92- MY_STATE .watch ((value ) => {console .log (value );}); // Watch on State changes
93- ```
94- - Store State in any Storage, like [ Local Storage] ( https://www.w3schools.com/html/html5_webstorage.asp )
95+ - Store State in any Storage, like the [ Local Storage] ( https://www.w3schools.com/html/html5_webstorage.asp )
9596 ``` ts
9697 MY_STATE .persist (" storage-key" );
9798 ```
@@ -117,12 +118,12 @@ Write minimalistic, boilerplate-free code that captures your intent.
117118### ⛳️ Centralize
118119
119120AgileTs is designed to take all business logic out of UI-Components and put them in a central place, often called ` core ` .
120- The benefit of keeping logic separate to UI-Components is to make your code more decoupled, portable, and above all, easily testable.
121+ The benefit of keeping logic separate to UI-Components is to make your code more decoupled, portable, scalable, and above all, easily testable.
121122
122123### 🎯 Easy to Use
123124
124125Learn the powerful tools of AgileTs in a short amount of time. An excellent place to start are
125- our [ Quick Start] ( https://agile-ts.org/docs/Installation ) Guides , or if you don't like to follow any tutorials,
126+ our [ Quick Start Guides ] ( https://agile-ts.org/docs/Installation ) , or if you don't like to follow any tutorials,
126127you can jump straight into our [ Example] ( https://agile-ts.org/docs/examples/Introduction ) Section.
127128
128129
@@ -132,14 +133,16 @@ you can jump straight into our [Example](https://agile-ts.org/docs/examples/Intr
132133<br />
133134<img src =" https://raw.githubusercontent.com/agile-ts/agile/master/static/installation_header.png " alt =" Installation " />
134135
135- To properly use AgileTs, in a UI-Framework, we need to install ** two** packages.
136+ In order to properly use AgileTs, in a UI-Framework, we need to install ** two** packages.
136137
137- - The _ Core Package_ , which acts as the brain of AgileTs and manages all your States
138+ - The [ ` core ` ] ( https://agile-ts.org/docs/core ) package, which contains the State Management Logic of AgileTs
139+ and therefore offers powerful classes such as the [ ` State Class ` ] ( https://agile-ts.org/docs/core/state ) .
138140 ```
139141 npm install @agile-ts/core
140142 ```
141143
142- - and a _ fitting Integration_ for your preferred UI-Framework. In my case, the [ React Integration] ( https://www.npmjs.com/package/@agile-ts/react ) .
144+ - And on the other hand, a _ fitting Integration_ for your preferred UI-Framework.
145+ In my case, the [ React Integration] ( https://www.npmjs.com/package/@agile-ts/react ) .
143146 Check [ here] ( https://agile-ts.org/docs/frameworks ) if your desired Framework is supported, too.
144147 ```
145148 npm install @agile-ts/react
@@ -155,7 +158,7 @@ To properly use AgileTs, in a UI-Framework, we need to install **two** packages.
155158Sounds AgileTs interesting to you?
156159Checkout our ** [ documentation] ( https://agile-ts.org/docs/introduction ) ** , to learn more.
157160And I promise you. You will be able to use AgileTs in no time.
158- In case you have any further questions, don't hesitate to join our [ Community Discord] ( https://discord.gg/T9GzreAwPH ) .
161+ If you have any further questions, don't hesitate to join our [ Community Discord] ( https://discord.gg/T9GzreAwPH ) .
159162
160163
161164<br />
@@ -165,7 +168,7 @@ In case you have any further questions, don't hesitate to join our [Community Di
165168<img src =" https://raw.githubusercontent.com/agile-ts/agile/master/static/contribute_header.png " alt =" Contribute " />
166169
167170Get a part of AgileTs and start contributing. We welcome any meaningful contribution. 😀
168- To find out more, check out the [ CONTRIBUTING.md] ( https://github.com/agile-ts/agile/blob/master/CONTRIBUTING.md ) .
171+ To find out more about contributing , check out the [ CONTRIBUTING.md] ( https://github.com/agile-ts/agile/blob/master/CONTRIBUTING.md ) .
169172
170173<a href =" https://codeclimate.com/github/agile-ts/agile/coverage.svg " >
171174 <img src =" https://codeclimate.com/github/agile-ts/agile/badges/gpa.svg " alt =" Maintainability " />
@@ -182,6 +185,7 @@ To find out more, check out the [CONTRIBUTING.md](https://github.com/agile-ts/ag
182185| ------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
183186| [ @agile-ts/core ] ( /packages/core ) | [ ![ badge] ( https://img.shields.io/npm/v/@agile-ts/core.svg?style=flat-square )] ( https://www.npmjs.com/package/@agile-ts/core ) | State Manager |
184187| [ @agile-ts/react ] ( /packages/react ) | [ ![ badge] ( https://img.shields.io/npm/v/@agile-ts/react.svg?style=flat-square )] ( https://www.npmjs.com/package/@agile-ts/react ) | React Integration |
188+ | [ @agile-ts/vue ] ( /packages/vue ) | [ ![ badge] ( https://img.shields.io/npm/v/@agile-ts/vue.svg?style=flat-square )] ( https://www.npmjs.com/package/@agile-ts/vue ) | Vue Integration |
185189| [ @agile-ts/api ] ( /packages/api ) | [ ![ badge] ( https://img.shields.io/npm/v/@agile-ts/api.svg?style=flat-square )] ( https://www.npmjs.com/package/@agile-ts/api ) | Promise based API |
186190| [ @agile-ts/multieditor ] ( /packages/multieditor ) | [ ![ badge] ( https://img.shields.io/npm/v/@agile-ts/multieditor.svg?style=flat-square )] ( https://www.npmjs.com/package/@agile-ts/multieditor ) | Simple Form Manager |
187191| [ @agile-ts/event ] ( /packages/event ) | [ ![ badge] ( https://img.shields.io/npm/v/@agile-ts/event.svg?style=flat-square )] ( https://www.npmjs.com/package/@agile-ts/event ) | Handy class for emitting UI Events |
0 commit comments