Ask HN: Why is mithril.js not popular?

22 points by pictur ↗ HN

15 comments

[ 3.6 ms ] story [ 51.3 ms ] thread
It's a crazy crowded space for one thing.
Rephrase the question: "Why should mithril.js be popular?"
I don't use web frameworks but it's always occurred to me that the big 4 JS ones are Angular, React, Vue, and Mithril.

Angular and React are popular because they're backed by giant companies who have the resources to market and document it well.

Vue and Mithril seem better built, but Vue has nicer syntax, and Mithril is more lightweight.

But if I wanted lightweight I figured jQuery and JS might be better. I'm possibly wrong about this but that's the layman impression I get.

It's a non-starter for me because it doesn't seem to have Mobx support. I use mobx to handle my application's state at a global level.
Mithril works seamlessly with Mobx, you just call m.redraw in autorun(). I actually think that just underlines the strength of Mithril. No need for a special wrapper library to support other modules.
I think most people using it are busy building stuff with it, not having time to evangelize it. I've been using it for 4 years now, for almost any type of project you could imagine. It doesn't have that shiny hype polish as the rest, but it does a perfect job for what it's supposed to, and it has the best community I've ever encountered.
That matches my experience.
Good point about the users not evangelizing it. Besides being a great tool in and of itself, the community is incredibly helpful and encourage a "use the right tool for the job" philosophy that I found refreshing.