README
Declarative and flexible UI library: Template-based reactivity, automatic routes/pages and SuperComponents.
Last updated
Declarative and flexible UI library: Template-based reactivity, automatic routes/pages and SuperComponents.
Last updated
Cleaner syntax than other UI libraries and frameworks.
No “props”. A new way for parent component to pass data to child components.
Instead of a common routing system or based on files, Bemtv brings a new innovative routing system that is capable of “transforming” a component into a route automatically according to its use in the application.
Separation of logic related to DOM events from the component template.
Semi-automatic Code-Splitting.
CSS-In-JS and CSS-In-Template.
The design of the components allows the export of all the methods belonging to it, which allows the use of these methods in any part of the application.
Easy two-way binding between component variables and HTML element properties and attributes.
Hooks.
Transform functions that separate data structures like Array, Set, Map and Object from their markup for the template.
Brackethtml markup language: instead of <div>Hey!</div>
do this: div[Hey!]
.
Declarative syntactic sugars through the component template.
It's just Javascript, no JSX or build-time needed, just add it to your index.html and have fun!
“Before you play with Bemtv, do think twice and if you enjoy too much, don't be surprised! ”