Fork me on GitHub
#polylith
<
2021-07-01
>
Nikolas Pafitis21:07:13

A question to polylith users out there. Which component/state library do you feel suits a polylith workspace best?

seancorfield21:07:39

@silencioseu I'm finding Component to be a great fit for Polylith, but I'm an existing Component user and I prefer it over the others anyway (Mount, Integrant).

Nikolas Pafitis21:07:46

@seancorfield I see, it can also work with the interface namespace checking i guess

Nikolas Pafitis21:07:02

defmethod and defstate would not be picked up

Nikolas Pafitis21:07:20

While with component you could just use a defn that instantiates your records

seancorfield21:07:19

Not sure what you're asking. defstate is Mount, yes? Global state just seems like a bad idea to me, which is why I dislike Mount so much.

seancorfield21:07:33

defmethod is just regular Clojure and works fine with Polylith.

Nikolas Pafitis21:07:31

I mean defmethod if you have to different components of the same interface and one's missing a defmethod is not going to be caught by poly info

seancorfield21:07:35

Ah, and that might be a problem for Integrant, you mean?

2
Nikolas Pafitis21:07:12

Well not really a problem, but i just like being pedantic and take advantage of poly info

2