Hacker News new | ask | show | jobs
by fineline 2848 days ago
I like the use of template strings for, well, templating, with automatic differentiation between data values and event handlers, nice touch. The state mechanism seems similar to Elm and its derivatives (e.g. Redux), which I guess is a plus considering how much of a convention that's becoming.
3 comments

I've been investigating xstate [0] recently, it adds a FSM to React, plus it has an excellent visualisation tool [1] for the states.

[0]: https://github.com/davidkpiano/xstate

[1]: https://bit.ly/xstate-viz

Thanks, work a lot with Redux right now and love it "time travel" debug system.
Automatic differentiation? I'm unfamiliar with the term and it didn't appear on the page.

Mind elaborating?

Although unasked: My best guess is that the functionality provided by https://polymer.github.io/lit-html/ was meant (mistakenly attributing the feature to the micro framework).
Thanks for pointing this out to me. I hadn't heard of lit-html before. Another case of learning about something very useful via HN :) Yes it is lit-html that I was impressed by more so than the micro framework that uses it. When I say automatic differentiation I mean treating different binding types (text value vs event handler) differently.