Very small JavaScript frameworks?

This page summarizes the projects mentioned and recommended in the original post on /r/java

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • htmx-demo

    Very simple demonstration of the use of htmx with Spring Boot and Thymeleaf.

  • However, I'd also like to make my apps have more dynamic, "single page app" (SPA) like features. I've been doing some experiments with htmx.org and Spring Boot/Thymeleaf and it's been fantastic so far (I'm posting my experiments at https://github.com/wiverson/htmx-demo).

  • Mithril.js

    A JavaScript Framework for Building Brilliant Applications

  • htmx.org offers integration with a very, very concise scripting language (hypersrcipt). I also found https://github.com/MithrilJS/mithril.js which looks like it's just a bit more like something like React/Angular but massively stripped down.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • htmx

    </> htmx - high power tools for HTML

  • However, I'd also like to make my apps have more dynamic, "single page app" (SPA) like features. I've been doing some experiments with htmx.org and Spring Boot/Thymeleaf and it's been fantastic so far (I'm posting my experiments at https://github.com/wiverson/htmx-demo).

  • hotwire-rails

    Discontinued Use Hotwire in your Ruby on Rails app

  • htmx.org makes it really easy to just shoot HTML-over-the-wire directly from my Spring Boot. Basically I'm able to do SPA without having to mess around with the npm/React/Angular/etc toolchain. So far it's working very well.

  • Svelte

    Cybernetically enhanced web apps

  • w2ui

    UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).

  • If you are already using jquery , take a look at https://github.com/vitmalina/w2ui

  • wro4j

    Free and Open Source Java project which brings together almost all the modern web tools: JsHint, CssLint, JsMin, Google Closure compressor, YUI Compressor, UglifyJs, Dojo Shrinksafe, Css Variables Support, JSON Compression, Less, Sass, CoffeeScript and much more. In the same time, the aim is to keep it as simple as possible and as extensible as possible in order to be easily adapted to application specific needs.

  • How about wro4j? it offers you lots of javascript/css preprocessing without node. I so want a node-free TypeScript/JSX compiler....

  • 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
  • frontend-maven-plugin

    "Maven-node-grunt-gulp-npm-node-plugin to end all maven-node-grunt-gulp-npm-plugins." A Maven plugin that downloads/installs Node and NPM locally, runs NPM install, Grunt, Gulp and/or Karma.

  • There is always this excelent maven plugin: https://github.com/eirslett/frontend-maven-plugin that pretty much installs and runs whatever you need in the front end. It's perfect when you don't have control over whats installed in the company CI server.

  • Alpine.js

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

  • Between htmx, webjars and the wro4j plugin mentioned above, I'm feeling pretty pumped about doing front-end web dev agin. I'm finding a few other frameworks, like unpoly and alpine that look interesting as well.

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