It looks like React, bit like Angular 2, but more readable?

A bit of sunday playing.
Refactored the previous Aurelia todos to:

from the React example https://github.com/meteor/react-packages/tree/devel/examples/react-todos/client.
What do you think, is it more readable or is it just an autosuggestion? :smile:

Using template strings for the template seems like a nightmare regarding syntax highlighting. :sweat_smile:

Using template strings for the template seems like a nightmare regarding syntax highlighting. :sweat_smile:

True.
I find it amusing how one can simply copy paste the template within template strings into separate html, named same as the view-model and it just works, with all the required components.

I wonder are there any packages for highlighting that format in editors, like Atom…

1 Like