4 ms·
I disagree. So far NO other UI library/framework than react offered the “interface as a function of state” paradigm. All others (Svelte, Vue partially) are base
by crubier 6y ago
I disagree. So far NO other UI library/framework than react offered the “interface as a function of state” paradigm. All others (Svelte, Vue partially) are based on templates with their ad-hoc syntax for ifs and maps/loops and so on. This is a non starter for me. I will consider other things than react, as long as they use this concept of interface as a function of state. This is non negociable for me at this point.
- dbbk 6y agoCan you clarify what you mean by "interface as a function of state"? All the templated-frameworks still fit this definition... they are reactive to the state of your component. In fact, they are more performant than React because their template syntax provides static analysis, so the app can be optimised at compile time.
- atrilumen 6y agoChoo-Choo! https://choo.io https://choo.io
- tantaman 6y agoSvelte is technically "interface as a function of state" But I do agree, custom template syntax is a non-starter.
- tantaman 6y agoalso, it is pretty amazing what you can do without a framework and how simple your code can be if you code in an "interface as a function of state" style. example: https://github.com/tantaman/fk-your-frameworks-todomvc https://github.com/tantaman/fk-your-frameworks-todomvc