4 ms·
> One of the things I really liked is there's really no sense of 'magic' Absolutely! And besides making it feel much less 'magic', Mithril's simplicity also re
by epidemian 10y ago
> One of the things I really liked is there's really no sense of 'magic'
Absolutely! And besides making it feel much less 'magic', Mithril's simplicity also reflects on the tooling, bundle sizes, and general code complexity needed to get things going.
I did a small-to-medium-sized project using Mithril last year, and felt like the learning curve was super smooth; no hard bumps at all. The development progress felt quite steady during the project, and the bundle sizes and speed of the app were always fine; it felt very snappy.
Recently i worked on a different project with a React+Redux (+react-router, +Glamor, +Babel, +Webpack, +whatnot) stack, and i don't know if it was the project itself that required so much more complexity, or that we made the wrong decisions regarding architecture, but everything felt bloated. Bundle sizes nearing the 1MB mark; "build" times of dozens of seconds on beefy development machines; and a level of boilerplate code that reminded me of my Java EE days (but with none of the type safety... besides React's verbose PropTypes).
I can't say i feel too hot about the current trends of front-end development :/
I hope that simpler libraries like Mithril get more traction :)