Hacker News new | ask | show | jobs
by nkkollaw 2861 days ago
> If you still want to be React-like, that is!

Well, you (or the author) are comparing it to React in your title, so of course people assume that you're targeting React devs.

Now you're saying that it's something different?

1 comments

I'm saying Mithril is a simpler alternative to React, not React-like. Preact is react-like (same API as react); Mithril isn't.
jQuery is simpler than React. HTML is simpler than React. What a weak selling point, then.
It seems you're missing the point. React and Mithril both employ virtual DOM, both use components and both allow higher abstractions that provide ways to manage complexities that arise in front-end development. Jquery and HTML don't do that.

I tried both Mithril and React and found Mithril to be simpler than React as it 'gets out of the way'.

I invite you to read this for more detailed comparison :

https://mithril.js.org/framework-comparison.html#react