|
|
|
|
|
by atrilumen
2321 days ago
|
|
Try Choo (4kb ninja sword). I think the design really nails it: just enough architecture, tagged template literal rendering, functional DOM tree composition with an optional component system. I prefer to avoid stateful components in favor of pure rendering functions, as much as possible. Choo's renderer is based on morphdom, which is interesting because it diffs against the real DOM rather than maintaining a virtual one. I use monoapp, which is a fork of Choo allowing you to bring your own renderer (such as lit-html). https://github.com/choojs/choo https://github.com/jongacnik/monoapp |
|