uix VS imba

Compare uix vs imba and see what are their differences.

uix

Idiomatic ClojureScript interface to modern React.js (by pitch-io)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
uix imba
13 45
331 6,234
1.5% 0.2%
8.5 9.4
2 months ago 6 days ago
Clojure JavaScript
Eclipse Public License 2.0 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.

uix

Posts with mentions or reviews of uix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-22.
  • Clojure is a product design tool
    8 projects | news.ycombinator.com | 22 Jun 2023
    Check out uix too: https://github.com/pitch-io/uix

    …it’s a reagent alternative for modern react.

  • React.dev
    21 projects | news.ycombinator.com | 16 Mar 2023
    > But Reagent supports functional components as well, with hooks and all.

    I addressed this already: while reagent is able to emit function components, there is a performance penalty to this.[1]

    > I also very much like Hiccup, and so do many of us, because code is data and data is code, and Helix has decided not to support that.

    Hiccup is convenient to write, but it is a constant run-time cost and a significant storage cost given that you have to store long series of constructors to cljs.core.PersistentVector in your bundle, have the JS runtime actually construct the vector, then pass it through a Hiccup interpreter to finally produce DOM nodes and throw away the persistent vector, only to repeat this entire process again on re-render.[2]

    > Helix has decided not to support that.

    That is simply not true. From the Helix documentation[2],

    > If you want to use libraries like sablono, hicada or even hx hiccup parser, you can easily add that by creating a custom macro.

    These are all Hiccup interpreters you can readily use.

    IME there is very little difference between using the $ macro in Helix and writing Hiccup. I do not really miss Hiccup when I use Helix, and you still have data as code ;)

    While this is from an unrelated project, there are benchmarks[3] done against Reagent that demonstrate the sheer overhead it has. In practice it is not a big problem if you rarely trigger a re-render, but otherwise it is a non-trivial cost, and if you want to use modern React features (like Suspense), there is a lot of r/as-element mingling going on, converting cases, etc. that simply make Reagent feel more tedious to use than Helix.

    Also, the newer UIx2, which largely borrows from Helix, is "3.2x faster than Reagent" according to one of the contributors.[4]

    I think it'd be worthwhile to benchmark all of these libraries against each other and record the data in one place. Maybe I'll get around to doing it this weekend :)

    ---

    [1] https://github.com/reagent-project/reagent/blob/master/doc/R...

    [2] https://github.com/lilactown/helix/blob/master/docs/faq.md#w...

    [3] https://github.com/roman01la/uix#benchmarks

    [4] https://github.com/pitch-io/uix/pull/12

  • Thought's on react libraries
    1 project | /r/Clojure | 1 Feb 2023
    If your heart’s set on following React latest closely though, UIx2 seems like a great library, and has a migration path from reagent: https://github.com/pitch-io/uix/blob/master/docs/interop-with-reagent.md
  • UIx v0.8.1
    2 projects | /r/Clojure | 30 Jan 2023
    It's been a while since I posted updates on UIx, but here it is, v0.8.1 with API compatibility for React v18.2.0 https://github.com/pitch-io/uix/blob/master/CHANGELOG.md
  • Poignant perspective I found about Clojure's community in r/ExperiencedDevs
    3 projects | /r/Clojure | 4 Jan 2023
    I suppose one of the best usecases of code sharing is to do Hydrating Server-Side-Rendered web apps just like Next.js. Not too many other languages are capable of doing this outside of Node and Clojure. For this reason it's kind of surprising that it's not more common in Clojure, seems like most people are just building old fashioned SPA's in Reagent/Reframe rather than competing with Next, but pitch's UIX library does seem to support it https://github.com/pitch-io/uix
  • Structuring Clojure Applications
    3 projects | news.ycombinator.com | 19 Dec 2022
    When I was looking into ClojureScript I was kind of concerned at the complexity of writing applications in ReFrame which seems to be what most of the community seems to be using. I've developed apps in this kind of event-emitting/event handler style before in JavaScript and found it quickly got quite out of hand. For my next app I will want to go with something like React-Query that in a sort of declarative way handles all your data fetching for you, and lets you decouple your components from the getting ahold of the data they depend on. I also searched far and wide for some kind of framework/library that supports SSR+CSR like Next.js but I don't think there's anything ready yet except maybe https://github.com/pitch-io/uix.
  • Is there anything in Clojure comparable to Hotwire in Rails or Phoenix Live View in Elixir? I've had with SPA's.
    9 projects | /r/Clojure | 27 Jul 2022
    Might want to check out Uix2 by pitch.io here https://github.com/pitch-io/uix/blob/master/docs/server-side-rendering.md Also there's https://inertiajs.com/ which is pretty interesting and has a 3rd party adapter for clojure https://inertiajs.com/community-adapters
  • reframe or plain reagent for new cljs SPA?
    5 projects | /r/Clojure | 17 Jul 2022
    I was starting greenfield I would consider looking further afield, maybe to UIx²
  • UIx² : Idiomatic ClojureScript interface to modern React.js from pitch.io
    1 project | /r/Clojure | 7 Jul 2022
  • UIx – Idiomatic ClojureScript interface to modern React.js
    1 project | news.ycombinator.com | 1 Jul 2022

imba

Posts with mentions or reviews of imba. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-02.
  • Ask HN: What are some unpopular technologies you wish people knew more about?
    56 projects | news.ycombinator.com | 2 Dec 2023
    Imba. The best web programming language ever made.

    https://imba.io/

  • Portugal. The Man – Official Website Is a Google Sheets Document
    7 projects | news.ycombinator.com | 3 Nov 2023
    I agree. I was looking for the same thing.

    They’re not easy to create but side by side code/result demos like the ones I saw on https://imba.io/ make it very clear on what I’ll be getting into as a developer.

  • Imba – The friendly full-stack language
    1 project | /r/patient_hackernews | 25 Sep 2023
    6 projects | news.ycombinator.com | 23 Sep 2023
  • Clojure is a product design tool
    8 projects | news.ycombinator.com | 22 Jun 2023
  • Fore – Declarative user interfaces in plain HTML
    2 projects | news.ycombinator.com | 4 Jun 2023
  • Framework for a frontend-only project?
    5 projects | /r/Frontend | 15 Apr 2023
    You might get away with Svelte (not Sveltekit) here since it compiles down to javascript. Another fun framework to try out for this might be https://imba.io/, which also has an option to compile things down to pure HTML, CSS & JS (plus it’s very fun to work with).
  • Thoughts on Svelte
    15 projects | news.ycombinator.com | 27 Mar 2023
    I've been using Svelte exclusively for the past 3 years or so. I love it and will keep using it as my main solution for interactivity. It's fast to use and execute, produces small apps, and it's extremely economical in how you express components.

    The confusion the author expresses with $: reactive statements and store auto subscription with the $ are unwarranted IMO. It's really just a lack of familiarity but this kind of stuff becomes intuitive very quickly.

    My criticism of Svelte is rather that they haven't gone deep enough into the compiler-based approach.

    Would be great if there were something like .svelteStore files where you had all the automatic reactivity tracking without having to use a component. Or some kind of improvements into writing styles. With a compiler you can do anything you want and I think Svelte has been a bit timid, maybe to not scare people away.

    For example Imba[1] also bet on a compiler-based approach (years before Svelte existed) and created their own language/framework/compiler. They have come up with amazing solutions to many problems. It's a shame they bet on Ruby aesthetics though and also that they aren't investing into marketing/docs.

    Of course, one might argue that using a compiler is a bad idea for a number of reasons. And yeah of course there are objective issues to any approach, but you have to pick your poison. All in all, Svelte has made me tremendously productive compared to using other solutions for years (React, Vue, Mithril, Inferno, etc).

    I will say though that I would rather use a solution that doesn't have any reactivity at all. Mithril and Imba have this concept of just "redrawing the whole thing" like a game GUI without having to worry about reactivity. Cognitively speaking, no reactivity is the best mental model IMO. With any reactive solution, it's very easy to fall into complex reactive dependencies which can be hard to track. The author of Imba has a video from 2018 where he talks about this[2].

    [1] https://imba.io/

    [2] https://www.youtube.com/watch?v=jwoApTLvRdQ

  • The Io Language
    8 projects | news.ycombinator.com | 18 Mar 2023
    A code snippet showing a simple program right on the home page and "selling" whatever features makes it special would go a long way. It's quite off-putting to have to delve deep into a guide in order to get a feel for a language.

    Some examples done right:

    https://lfe.io

    https://elixir-lang.org

    https://imba.io

    https://ocaml.org

  • Why do so many CS grads seem to look down on webdev?
    2 projects | /r/webdev | 10 Jan 2023
    At the same time, my heart is kind of in the web stuff and I find it a lot more exciting personally so it's hard for me to leave. You can do so much more with web tech and all the new ideas Tcoming from it and the pace it's developing is really . I just don't understand why React is becoming the standard when it's a complete nightmare compared to where we should be. I mean, this is literally insane, especially when things like Svelte exist - or even better, Imba. The day Imba becomes the standard is the day I love web dev again.

What are some alternatives?

When comparing uix and imba you can also consider the following projects:

reagent-utils - a collection of helper functions for use with Reagent

js-framework-benchmark - A comparison of the performance of a few popular javascript frameworks

helix - A simple, easy to use library for React development in ClojureScript.

React - The library for web and native user interfaces.

clj-stimulus - Clojure wrapper for Stimulus

Tailwind CSS - A utility-first CSS framework for rapid UI development.

babashka-htmx-todoapp - Quick example of a todo list SPA using Babashka and htmx

svelte-preprocess - A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.

clojure-inertia-pingcrm-demo - PingCRM on Clojure - A Clojure/Script fullstack demo application to illustrate how Inertia.js works.

coffeescript - Unfancy JavaScript

kee-frame-sample - Demo application to show off features of kee-frame

htmx - </> htmx - high power tools for HTML