Better HN
topnewbestaskshowjobs
Log inSign up

cmx66

5 karma · joined Aug 21, 2018 (8y ago) · 7 submissions

Submissions

comment 8y ago · link · parent

That is unfortunately not true. The framework with the best marketing will win.

That's why frameworks like angular and react are so popular. Both are designed to work well in large teams that work on huge codebases. Most of us probably would came along with much much simpler solutions.

comment 8y ago · link · parent

v2.0 is coming. Breaking changes are minor stuff. Migration of my very large app took me about an hour. The API of mithril is pretty much settled, which IMO is a good thing. We even plan to remove stuff for next major. Simplicity is key.

comment 8y ago · link · parent

Have you tried mithril.js?

comment 8y ago · link · parent

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 you have a full fledged programming language (javascript) and not only a limited (turing-incomplete) templating language.

So your approach might work for simple apps, more ambitious stuff will get overly complicated.

That is imho one of the strength of mithril.js: Simple things are trivial, complicated things are pretty straight forward to solve.

comment 8y ago · link · parent

but a good one :D

comment 8y ago · link · parent

It's a library for building webapps. Router and Ajax lib are a pretty obvious requirement for every webapp.

comment 8y ago · link · parent

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.