My thoughts on Mithril.js

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • petite-vue

    6kb subset of Vue optimized for progressive enhancement

  • Having (real) components, sets it apart from other no-build / small runtime frameworks (like Alpine.js and Vue-Petite), because this allows for the creation of advanced full-size SPAs.

  • hyperscript

    Create HyperText with JavaScript.

  • With Mithril.js, you generate HTML using a hyperscript dialect like this:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • htm

    Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.

  • Another option is using the htm library to generate the hyperscript - which would allow the use of JavaScript template literals for a development style closer to JSX or the HTML templates used with Vue / Svelte. The problem with this is that the templates would be re-compiled (by htm) on every single interaction with the app - which I imagine would seriously slow things down.

  • Svelte

    Cybernetically enhanced web apps

  • My current go-to client-side framework is Svelte - which is amazing. The only real downside is that it cannot be used without build-tools.

  • Mithril.js

    A JavaScript Framework for Building Brilliant Applications

  • Mitril.js is a client-side JavaScript framework (similar to React, Vue, Svelte, etc.)

  • jsx

    The JSX specification is a XML-like syntax extension to ECMAScript.

  • Alternatively, you can use JSX syntax (like with React), but then you need build-tools.

  • Alpine.js

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

  • Having (real) components, sets it apart from other no-build / small runtime frameworks (like Alpine.js and Vue-Petite), because this allows for the creation of advanced full-size SPAs.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts