sansolovyov/twinspark-js
À propos
Une extension déclarative pour HTML : simple, composable et légère.
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalDeclarative enhancement for HTML: simple, composable, lean. It's main goal is to eliminate most of the logic from JS, while allowing to make a good interactive site.
It engages this problem from a few angles:
- partial page updates facilitated via HTML attributes (no JS needed)
- actions - incredibly simple promise-enabled language for (limited) client-side scripting
- morphing - a strategy to update HTML graduallly, without breaking state and focus
Simple: it's only a handful core attributes (like ts-req, ts-action,
ts-trigger), with no surprising behavior (whatever is declared on top of your
DOM tree will not affect your code).
Composable: there are enough extension points to compose with whatever your
needs are. You can add more directives like ts-req, you can add more actions,
you can customize requests being sent out. Whatever you need.
Lean: source is a full 2000 lines of code and only 8KB .min.gz. We believe in less is more.
It's a battle-tested technology used on websites with 100k+ daily active users.
Read more in docs.
Explorer des projets similaires
Chargement…