ELT is a typescript library for building user interfaces in a web environment. It is not meant to build websites ; its purpose is to write application

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-12-31 03:30:04

ELT is a typescript library for building user interfaces in a web environment. It is not meant to build websites ; its purpose is to write applications.

Weighing less than 15kb minified and gziped, it is meant as an alternative to React, Angular and the likes. Unlike several of them, it does not make use of any kind of virtual DOM. Instead, it provides the developper with an Observable class and a few easy to use hooks on the node life cycle to react to their presence in the document.

It makes use of fairly modern standards, such as Map, Set, Symbol and WeakMap. As such, it probably won't run on IE without using polyfills. In general, support is limited to less than two years old browser versions.

You use typescript and don't want a javascript library that use patterns that the typing system doesn't always gracefully support. Everything is Element was built with type inference in mind. The Observable ecosystem tries hard to keep that valuable typing information without getting in your way and have you type everything by hand.

You are strict about typing and do not like to cheat with any. The recommended way to enjoy this library is with "strict": true in your tsconfig.json.

Leave a Comment