4 ms·
I like the use of template strings for, well, templating, with automatic differentiation between data values and event handlers, nice touch. The state mechanism
by fineline 8y 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.
- stepanvanzuriak 8y agoThanks, work a lot with Redux right now and love it "time travel" debug system.
- kjeetgill 8y agoAutomatic differentiation? I'm unfamiliar with the term and it didn't appear on the page. Mind elaborating?
- jand 8y agoAlthough unasked: My best guess is that the functionality provided by https://polymer.github.io/lit-html/ https://polymer.github.io/lit-html/ was meant (mistakenly attributing the feature to the micro framework).
- fineline 8y agoThanks 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.
- icc97 8y agoI'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 https://github.com/davidkpiano/xstate [1]: https://bit.ly/xstate-viz https://bit.ly/xstate-viz