Live data from Hacker News

Mithril.js – A modern client-side Javascript framework

mithril.js.org

31–40 of 83 posts

Re: Mithril.js – A modern client-side Javascript framework

#31
Wow, thank god. Just what we need. Another JavaScript framework.

  Hey, yeah, we looked at your resume, but
  we noticed that you don’t have any hobbit.js
  experience. We’re a pretty serious project
  and hobbit does a lot of heavy lifting for
  us, so we’re going to pass for now, but we’ll
  keep you in or file in case anything comes up.
  Thanks so much! Best of luck!

Re: Mithril.js – A modern client-side Javascript framework

#33
It is great to see Mithril again on front page of HN, it is one of the most simplest and easiest modern JS frameworks. I only know flarum [0] as a project which has used Mithril mixed with jQuery [1] and personally, I am quite amazed how snappy it is.

[0]: https://discuss.flarum.org/

[1]: https://github.com/flarum/core/blob/master/js/package.json

Re: Mithril.js – A modern client-side Javascript framework

#34

Earlier quoted context omitted.

Yes, exactly. Using JSX is also easy for development purposes if you don't like hyperscript syntax. Just add babel.min.js file and use /** @jsx m */ // your can use jsx here and bingo! You can use JSX. No need to use npm, webpack, etc.

Setting up Webpack manually is a pain, but honestly if one uses create-react-app, everything is done for you and you just start coding your app: you have transpiling of ES6 (at least, I don't know about ES7), you can install and include other packages, etc. etc.

True. If you're creating an app that will be used in production then of course you need to use npm, webpack and other tools.

But if you're new to a framework and just want to experiment then being able to create an html file with a couple of script tags and writing code removes many barriers to entry.

React, Vue and many others already offer this, I thought it was worth mentioning that Mithril does this too.

Re: Mithril.js – A modern client-side Javascript framework

#36

Interesting, I don't have much experience with either, but I thought Mithril was kinda succeeded by Aurelia, which makes it a less attractive choice for a new project. Good to see there's still stuff going on.

Mithril is far superior to and simpler than Aurelia.

Re: Mithril.js – A modern client-side Javascript framework

#39

Interesting, I don't have much experience with either, but I thought Mithril was kinda succeeded by Aurelia, which makes it a less attractive choice for a new project. Good to see there's still stuff going on.

You're probably thinking of Durandal, which was the predecessor of Aurelia (along with some brief history involving Angular, IIRC). Mithril is an entirely different project by different people, I believe.

Re: Mithril.js – A modern client-side Javascript framework

#40
post #30
post #24

Earlier quoted context omitted.

Mithil maintainer here. Guilty as charged. That page hasn't been updated since the v1.0 release, we've been focusing on code improvements. V2 is around the corner (mostly bug fixes, some of which required subtle breaking changes (i.e. things that most users won't run into but it would not have been honest to make it a minor semver bump). We'll revisit the home page before the release.

Do you accept PRs for website and documentation? Thanks!

Mithril has a very open and inviting community and will definitely accept PRs. I reccomend popping into the Gitter channel if you’d like to discuss things further
Post reply on HN