Brain of AgileTs
core package is the brain of AgileTs. Nearly everything related to AgileTs depends on this package. It
includes the main Instance of AgileTs, the
Agile Class often
In summary, the main tasks of the
Agile Class are to
- manage Agile Sub Instances, like States, ..
- ingest changes into the Runtime
- trigger rerender in Integrations like React
- store values in any Storage
As you can guess, each application using AgileTs has to install
core package and instantiate such an
To get some inspiration where to instantiate such
Agile Class, check out the Style Guide.
Agile Class the
core holds some other useful classes
listed below. But each of these classes depends in some kind on the
A State holds an Information that we need to remember at a later point in time.
A Collection holds a set of Information that we need to remember at a later point in time. It is designed for arrays of data objects following the same pattern.
A Computed is an extension of the
State Class, it does automatically compute its value depending on other Agile Instances like States, Collections, ..
Events are handy for emitting UI updates and passing data with them.