Hacker News new | ask | show | jobs
by FailMore 1294 days ago
Are you basically saying that I can build my front end using clojure?

I really want to learn clojure and use flutter for a personal project... are there are any reasons not go down this path? (E.g. the "official" implementation of flutter is more secure?, etc.)

Thank you for the cool project

5 comments

> Are you basically saying that I can build my front end using clojure?

Unless I misunderstand your question, this has already been possible for some time: ClojureScript + React/React Native.

There are some impressive videos illustrating this. The devil is in the tooling and setup, but once that is in place the pace and ease of development looks great.

It's really amazing to make a code change in my text editor and see the UI on my mobile app update instantly.

I believe Tensegritics already has an app up on the app store based on early ClojureDart. I run screaming before apps have to be deployed, so please check with them on that. They hang out on the Clojurians Slack. My reactive hack is over twenty years old so it is pretty solid, should be OK if you want to throw that into the mix. ps. You are welcome!
For sure. You could also build front-ends with Clojure using htmx. It really simplifies building dynamic front-ends by allowing you to return to the hypermedia model with server-side rendering. It has been fantastic. No ClojureScript. Just a normal Java Clojure REPL.

https://htmx.org/

Building your frontend in Clojure has been possible for a while, see this announcement 11 years ago: https://www.clojure.org/news/2011/07/22/introducing-clojures...

ClojureScript & the user base has since steadily grown and improved and people have been shipping serious production applications with it for a long time now.

Answering another question about Flutter variability I remembered that that variability requires a bit of custom wrapping per widget for Matrix goodness. ClojureDart is fine, but my Matrix macros try to bring in a little HTML-ish uniformity.

Matrix has many widgets yet unwrapped, but I will document the wrapping process and support any user by doing the wrapping myself. I also have in mind developing a Dart tool to generate wrappers automagically.

tl;dr: ClojureDart is in great shape, Flutter/MX is solid but needs more widgets wrappe.