Hey!
I've created a new JavaScript framework and I'd like to introduce you to it! It's called tml.
features
Buildless.
tml doesn’t need to build.
This is because tml is based on Web Component API.Simple, Lightweight.
The contents of framework are very simple, so tml is 3kb lightweight.No virtual dom.
Some frameworks like React using virtual dom internally, but tml doesn’t. But tml is using shadow dom so the performance is super.Super easy syntax
You can write counter code like this:
const App = (me) => {
me.init({ count: 0 })
return me.html`
<button @click=${() => me.$count++}>count</button>
<p>${me.$count}</p>
`
}
Great :D
You can get more examples in the GitHub Repository, so now try it!
Top comments (0)