Echo JS 0.11.0

<~>

xat 2348 days ago. link 4 points
nice :) but you really should add some tests.
anywhichway 2347 days ago. link 2 points
We were unaware of hyperx. Hyperx has a better architecture and will probably perform better. It uses a classic parser based approach internally. Tlx relies on the DOM for its parsing (fine for small components, but will bog down for larger ones). Tlx is currently a little smaller, has its own Vdom and h functions (i.e. no dependencies). Tlx can also bind the template literal interpolator so that components can be built. Hyperx is BSD licensed so we will probably use portions of hyperx and modify it it to add the binding capability and remove dependencies. Thanks for pointing out hyperx!
sylvainpv 2347 days ago. link 1 point
No problem, thanks for the details and your objectivity
anywhichway 2346 days ago. link 1 point
The core tlx parser has now been replaced with hyperx. Very thankful for you pointing it out. Saved MANY hours of development. Also added "inverted JSX". HTML can now be treated like a template directly, more like VUE or Ractive.
chris-l 2348 days ago. link 1 point
Interesting.

"Works with React and Preact." And, could it also work on its own?
anywhichway 2347 days ago. link 1 point
It will. It has its own render function. See the file in the example directory.