v0.6.0 - SuperComponent and much more | Breaking Changes
In the last few days I've been thinking and working at Bemtv, thinking of a way to make it more attractive and innovative and maintain the qualities I had already achieved.
I am glad to be able to publish the result of my work, mainly because I believe I have achieved most of the goals:
Counter component:
import { _ } from "bemtv";
const { click$, $, css, template, render } = _`Counter`({ count: 0 });
click$(() => $.count++);
css`
padding: 20px;
color: blue;
`;
template`button[Cliked: $count ]`;
render();
Bemtv now has a cleaner, prettier syntax, with better error messages and better performance, as well as new features and static sugars that have given our library a new face.
As the big change and the new features the documentation has been redone, I ask you to go back and read the documentation again because you will see that the new features improve what already existed, there have also been important changes in the way of building and using certain features. Hope to bring you news soon and make the API stable as soon as possible, see you soon!