|
|
|
|
|
by tengbretson
3499 days ago
|
|
I guess I fail to see the value of this. If you don't want the component lifecycle, event system, or DOM diffing that React gives you, you might as well just write your own declarative wrapper around `document.createElement(...)` and be done with it. You can achieve this for templating alone in < 10 lines of code, and if you want to add some event delegating on top of it you can include that for another ~30. |
|
Event system is already supported by DOM. React doesn't add anything there. Component lifecycle is also not compelling.