Creating States
should be
spacy
AgileTs is a global, simple, spacy State and Logic Framework
Poke me πŸ‘† to mutate my color State.
Why choose us?
Straightforward
AgileTs saves you the hassle of creating boilerplate code and offers powerful tools that make your life easier.
const App = new Agile();
const MY_STATE = App.createState("Jeff");
MY_STATE.set("Frank");
// MyComponent.whatever
const myState = useAgile(MY_STATE);
const App = new Agile();
const MY_COLLECTION = App.createCollection();
MY_COLLECTION.collect({id: 1, name: "Jeff"});
MY_STATE.persist();
const App = new Agile();
const IS_AUTH = App.createComputed(() => {
return AUTH_TOKEN.exists;
});

Create State

A State is an Information we need to remember at a later point in time.

Subscribe State

To bring some reactivity in our application we can bind our State to a Component.

Create set of States

A Collection is a dynamic and reactive set of States.

Persist State

Permanently store State in any Storage.

Compute State

Compute State depending on other States.
img/pages/landing/software_engineer.svg
Centralize
AgileTs allows you to manage all your application logic and states outside of any UI framework in a central place.
img/pages/landing/teaching.svg
Flexible
AgileTs works with nearly any UI-Layer and isn’t bound to any specific workflow. Use it the way it suits you best.
img/pages/landing/science.svg
Easy to Use
Learn the powerful tools of AgileTs in a short amount of time.
img/pages/landing/engineer.svg
Well Tested
AgileTs has over 2500 jest tests to ensure everything works as expected.
img/pages/landing/typescript.svg
Typescript
AgileTs is almost 100% typesafe and provides type inference for any complex structure.
Stop Talking
Start Coding
Coming Soon
Code

Hello World

Preview
Always Open Source.
Trusted by GitHub community
0
Stars
0
Forks
0
Downloads
Give it a Try
npm install @agile-ts/core