cmx66
Re:Introducing Hooks
on Sunday October 28, 2018 @10:01AM (#18320600)
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.
Re:Introducing Hooks
on Sunday October 28, 2018 @06:46AM (#18320060)
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.
Re:Introducing Hooks
on Sunday October 28, 2018 @06:37AM (#18320028)
Have you tried mithril.js?
Re:Mithril.js – A modern client-side Javascript framework
on Tuesday August 21, 2018 @11:47AM (#17810642)
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.
Re:Mithril.js – A modern client-side Javascript framework
on Tuesday August 21, 2018 @11:17AM (#17810338)
but a good one :D
Re:Mithril.js – A modern client-side Javascript framework
on Tuesday August 21, 2018 @11:17AM (#17810336)
It's a library for building webapps. Router and Ajax lib are a pretty obvious requirement for every webapp.
Re:Mithril.js – A modern client-side Javascript framework
on Tuesday August 21, 2018 @11:09AM (#17810251)
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.