Mithril.js
van
Mithril.js | van | |
---|---|---|
50 | 35 | |
13,877 | 3,447 | |
0.3% | 1.8% | |
3.4 | 9.7 | |
8 days ago | 5 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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
-
Ask HN: I can no longer like React, do you?
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
You can find more information about Mithril.js on its official website.
-
Ludic: New framework for Python with seamless Htmx support
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
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
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
-
HTMX for pages with heavy user interactivity
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
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
- Vanjs
van
-
Pocketbase: Open-source back end in 1 file
Depends on what you consider minimal, but I enjoy working with PocketBase and VanJS[1]. However there is no component library built in (if this is what you were asking for).
[1]: https://vanjs.org/
-
VanJS: A 0.9KB JavaScript UI framework
The library does have Typescript definitions available to use.
https://github.com/vanjs-org/van#typescript-support
- VanJS App Builder: A GPT That Builds Web Apps with VanJS
-
Want to help with Cardboard? JS/TS Vanilla Reactive Framework
It's a very simple, yet powerful reactive framework, to create web applications without the need to write any HTML. You don't need to build, use JSX, or compile. It works out of the box, and it's plain JS. Similar to VanJS in philosophy but with another flavour, and different features.
-
An Improved Unix Terminal – Demo App for VanJS
A web-based Unix terminal with notable improvements, built with VanJS - https://vanjs.org/. Under 300 lines in total.
We've seen numerous efforts to bring in more modernized terminals and shells. VanJS goes with the other direction. Why not making building UI apps as simple as CLI programs so most of us aren't confined to the limitations of terminals? Indeed, even for the quest of modernizing terminals, VanJS is pretty good at it.
- VanJS: A 0.9kB Grab 'n Go Reactive UI Framework without React/JSX
- VanJS - World's smallest reactive UI framework, enabling you to build UI app within an hour, no tool required
- Vanjs
- VanJS (abbreviated Vanilla JavaSript, smallest reactive framework) 1.0.0 is here
- ArrowJs: Reactivity Without the Framework
What are some alternatives?
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
nano - 🎯 SSR first, lightweight 1kB JSX library.
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
hyperapp - 1kB-ish JavaScript framework for building hypertext applications
riot - Simple and elegant component-based UI library
pakertaja - JavaScript library for building HTML.
inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces
el - Minimal JavaScript application framework / WebComponents base class
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
tinyjs
Aurelia 1 - The Aurelia 1 framework entry point, bringing together all the required sub-modules of Aurelia.
js-framework-benchmark - A comparison of the performance of a few popular javascript frameworks