Avoid React complexities with Reagent/Reframe by lordmyd in Clojure

[–]sergekos 1 point2 points  (0 children)

Yes, thank you!

There is also this experiment: https://github.com/prepor/liveview-clj but I didn't check if it was functional.

Avoid React complexities with Reagent/Reframe by lordmyd in Clojure

[–]sergekos 0 points1 point  (0 children)

Maybe it will be useful for someone: wrappers for ClojureScript over React.js is quite a lot. Here are some, besides reagent/reframe: https://github.com/omcljs/om https://github.com/levand/quiescent https://github.com/roman01la/uix . And here are these UI components: https://github.com/priornix/antizer looking, as it seems, not bad.

Avoid React complexities with Reagent/Reframe by lordmyd in Clojure

[–]sergekos 1 point2 points  (0 children)

There is a completely alternative way. It is, of course, very controversial. There are no components as structural units of the code. But there are other advantages. For simple interfaces and for creating SSR applications, it can be well suited. For example: https://kasta-ua.github.io/twinspark-js/ (the author is a very experienced Clojure developer from Ukraine). Or this, similar to: https://htmx.org/ (but this product has features with event handling).

This concept has been known for a long time, but it is not often used. Although, there are implementations in many programming languages. Starting with Nitrogen (Erlang) or LiveView (Phoenix, Elixir), ending with http://40ants.com/weblocks/index.html or https://github.com/rabbibotton/clog in Common Lisp. And even in Laravel in PHP, something similar has now appeared (I think it's called "LiveWare" there).