Problem with this approach is, that it only works for fairly simple stuff. Todays webapps have pretty complex UI with a lot of ramifications and complex dependencies of widgets. Such things are much easier to build if…
It's a library for building webapps. Router and Ajax lib are a pretty obvious requirement for every webapp.
mithril.js includes a router and an ajax helper (that is much simpler than fetch) If you include those in preact they may have similar size.
Problem with this approach is, that it only works for fairly simple stuff. Todays webapps have pretty complex UI with a lot of ramifications and complex dependencies of widgets. Such things are much easier to build if…
It's a library for building webapps. Router and Ajax lib are a pretty obvious requirement for every webapp.
mithril.js includes a router and an ajax helper (that is much simpler than fetch) If you include those in preact they may have similar size.