Creating States
should be
fun
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 a powerful api that makes your life easier.
const App = new Agile();
const MY_STATE = App.createState("Jeff"); // <-
MY_STATE.set("Frank");
// MyComponent.js
const myState = useAgile(MY_STATE);
MY_STATE.persist();
const App = new Agile();
const MY_COLLECTION = App.createCollection(); // <-
MY_COLLECTION.collect({id: 1, name: "Jeff"});
const App = new Agile();
const IS_AUTH = App.createComputed(() => {
return AUTH_TOKEN.exists && EXPIRATION_TIME.value > 0;
});

Create State

Instantiate a global State with a single line of code.

Subscribe UI-Component

Dynamically bind State to UI-Components for reactivity.

Persist State

Permanently store State in appropriate local Storage.

Collection

A Collection is a dynamic and reactive set of States.

Computed 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 500 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. It's 100% free.
npm install @agile-ts/core