Mithril.js VS million

Compare Mithril.js vs million and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
Mithril.js million
50 48
13,877 15,191
0.5% 5.1%
3.4 9.6
6 days ago 7 days ago
JavaScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Mithril.js

Posts with mentions or reviews of Mithril.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-21.
  • Ask HN: I can no longer like React, do you?
    1 project | news.ycombinator.com | 29 Apr 2024
    I don’t enjoy React much, but (as I’ve commented before) I do love Mithril (https://mithril.js.org). Immediate-mode UI via a vDOM, like React, but small, simple, and with none of the reactivity complications. I’d never go back to building apps with pure JS.
  • Mithril.js: A Modern Framework for JavaScript
    1 project | dev.to | 25 Apr 2024
    You can find more information about Mithril.js on its official website.
  • Ludic: New framework for Python with seamless Htmx support
    27 projects | news.ycombinator.com | 21 Mar 2024
    The idea of nested function calls to build HTML is not new. Back in the hey-day of JS frameworks, this was a common vdom pattern. I kinda miss [MithrilJS](https://mithril.js.org/#dom-elements)
  • No CMS? Writing Our Blog in React
    6 projects | news.ycombinator.com | 12 Feb 2024
    I have mixed feelings about React. I like it better than jQuery, and better than other JS frameworks I’ve used.

    But I much prefer Mithril (https://mithril.js.org/), which offers the same immediate-mode advantages (https://news.ycombinator.com/item?id=19746235) but without the crazy complex dependency-tracking reactivity.

    I rather liked this comment on React: https://news.ycombinator.com/item?id=38640051

  • VueJS turns 10 years old
    5 projects | news.ycombinator.com | 4 Feb 2024
    Vue with Vite (the builder/runner) is a stable, open source option. It is really a lightweight start where you're mostly writing HTML with interpolated data, and Vue is updating values correctly and performantly. Just build your reactive HTML app in one file and break into separate components as you're feeling the spirit. https://vuejs.org/guide/quick-start

    Mithril if you just want to drop in want a tiny, complete reactive library that doesn't require a build step--this one is most like what you might end up creating in a large jQuery app. You can understand everything from the homepage. https://mithril.js.org/

    HTMX if you really like HTML conventions. This doesn't feel jQuery-like and depends on your approach to your server app. https://htmx.org/

  • VanJS: A 0.9KB JavaScript UI framework
    15 projects | news.ycombinator.com | 20 Dec 2023
  • HTMX for pages with heavy user interactivity
    2 projects | /r/htmx | 24 Oct 2023
    React is still has gratuitous complexity. If you need some React like, take a look at mithril which is simpler and much smaller.
  • Lodash just declared issue bankruptcy and closed every issue and open PR
    7 projects | news.ycombinator.com | 16 Sep 2023
    The submitter creating multiple var -> let PRs (one PR per file), was also doing this in other projects, and would've broken some of their users.

    https://github.com/MithrilJS/mithril.js/pull/2880#pullreques...

    And he created multiple PRs there too. And didn't follow their workflow...

  • Produce HTML from S-Expressions
    5 projects | news.ycombinator.com | 30 Aug 2023
  • Vanjs
    2 projects | news.ycombinator.com | 3 Aug 2023

million

Posts with mentions or reviews of million. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-04.
  • Show HN: Million Lint – ESLint for Performance
    1 project | news.ycombinator.com | 29 Feb 2024
    Hey HN! Founder of Million – We’re building a tool to that helps fix slow React code. Here is a quick demo: https://youtu.be/k-5jWgpRqlQ

    Fixing web performance issues is hard. Every developer knows this experience: we insert console.log everywhere, catch some promising leads, but nothing happens before "time runs out." Eventually, the slow/buggy code never gets fixed, problems pile up on a backlog, and our end users are hurt.

    We started Million to fix this. A VSCode extension that identifies slow code and suggests fixes (like ESLint, for performance!) The website is here: https://million.dev/blog/lint

    I realized this was a problem when I tried to write an optimizing compiler for React in high school (src: https://github.com/aidenybai/million). It garnered a lot of interest (14K+ stars) and usage, but it didn't solve all user problems.

    Traditionally, devtools either hinge on full static analysis OR runtime profiling. We found success in a mixture of the two with dynamic analysis. During compilation, we inject instrumentation where it's necessary. Here is an example:

      function App({ start }) {
  • Million 3.0: All You Need To Know
    2 projects | dev.to | 4 Feb 2024
    To be honest, it fills me with great joy to finally be able to witness the launch of the 3.0.0 major release of Million.js; this is something that has been talked about since maybe July 2023, but, Aiden Bai finally assembled a team to get it out there and just last week on the day 2 February as at 8:00 am PST (Pacific Standard Time) Million v3 was released!!
  • React Jam just started, making a game in 13 days with React
    5 projects | news.ycombinator.com | 26 Dec 2023
    >> React is not traditionally used for making games, but that's part of the fun and the challenge. R

    > MS Flight Simulator cockpits are built with MSFS Avionics Framework which is React-like and MIT licensed:

    https://github.com/microsoft/msfs-avionics-mirror/tree/main/...

    preactjs may or may not be faster: https://preactjs.com/

    Million.js is faster than preact, and lists a number of references under Acknowledgements: https://github.com/aidenybai/million#acknowledgments

    https://million.dev/docs :

    > We use a novel approach to the virtual DOM called the block virtual DOM. You can read more on what the block virtual DOM is with Virtual DOM: Back in Block and how we make it happen in React with Behind the block().*

    React API reference > Components > Profiler:

  • My Journey to Accelerate Load Times in Heavy Frontend
    3 projects | dev.to | 8 Oct 2023
    Consider replacing the default virtual DOM with an alternative solution. For instance, Million.js
  • Welcome to the dark side. Ree.js awaits you!
    3 projects | dev.to | 5 Oct 2023
    @aidenybai 's Millionjs
  • Show HN: I made a tool that makes React faster automatically
    1 project | news.ycombinator.com | 10 Aug 2023
    In brief: I'm Aiden, 18, and have spent the past 2 years of high school working on Million.js, an open source React alternative with 11K stars on GitHub and hundreds of thousands of npm downloads.

    Recently, I released automatic mode, which detects slow React components and automatically optimizes the reconciliation phase. It's still in beta but chugging along. It's around 70% faster than React on the JS Framework Benchmark and you can see how I did it here: https://million.dev/blog/virtual-dom

    Interested? Check it out here: https://million.dev

  • What are your thoughts on Preact Signals? I've thoroughly enjoyed it but am now thinking of dropping it because it results in a fat stack of issues in the Next 13 server logs and because Dan Abramov himself advised against it. Nothing's broken, but it doesn't feel like it makes sense to use anymore
    1 project | /r/react | 5 Jul 2023
    Either that or add signals to the library itself. I don't get why it isn't in there when a ton of React's competitors are either using signal-like behavior or forgoing the clearly-obsolete way React handles its VDOM. When a high schooler can create something to make the library faster, you know that the core team is either prioritizing the wrong things or someone managing React is too prideful to admit that a lot of what worked a decade ago doesn't work today.
  • Million – Fast and lightweight virtual DOM that makes React up to 70% faster
    1 project | news.ycombinator.com | 11 Jun 2023
  • Introducing Million.js - A Lightning-fast Virtual DOM for React!
    1 project | /r/welovecodes | 11 Jun 2023
    Reference: https://million.dev/
  • React Up to 70% Faster
    1 project | news.ycombinator.com | 11 Jun 2023

What are some alternatives?

When comparing Mithril.js and million you can also consider the following projects:

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

riot - Simple and elegant component-based UI library

html2canvas - Screenshots with JavaScript

inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces

React - The library for web and native user interfaces.

Rete.js - Rete.js is a framework for creating visual interfaces and workflows. It provides out-of-the-box solutions for visualization using various libraries and frameworks, as well as solutions for processing graphs based on dataflow and control flow approaches.

Aurelia 1 - The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.

snabbdom - A virtual DOM library with focus on simplicity, modularity, powerful features and performance.