integrant

itarck 2021-12-21T02:17:32.093500Z

https://github.com/itarck/fancoil, here I wrote a clojurescript framework which use multi-methods and integrant. https://github.com/itarck/fancoil-example, I also tried some examples, integrated new modules like datascript, posh, cljs-http, haslett. Looking forward to hearing some feedback and suggestions.

itarck 2021-12-23T08:34:06.093900Z

I think it’s simpler to implement a re-frame registrar with defmulti, like a base abstraction, and defmethod is easily extensible. Finally stateful dependencies are injected by integrant, and the system is easy to configure. The defmulti dispatch function (fn [core method & args] method) is like a kind of pattern, no need for the re-frame’s interceptor and subscribe’s input functions.

itarck 2021-12-23T08:41:52.094100Z

In my side project, I wanted to implement a two-tier system, which was a little bit difficult to achieve with re-frame

Drew Verlee 2021-12-23T07:44:27.093700Z

The readme states where you took inspiration from, but not why you went another direction or built something new. I'm curious about that.