polylith

https://polylith.gitbook.io/ and https://github.com/polyfy/polylith
Nikolas Pafitis 2021-07-01T21:05:13.153800Z

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

seancorfield 2021-07-01T21:13:39.154700Z

@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 Pafitis 2021-07-01T21:27:46.155300Z

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

Nikolas Pafitis 2021-07-01T21:28:02.155600Z

defmethod and defstate would not be picked up

Nikolas Pafitis 2021-07-01T21:28:20.156Z

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

seancorfield 2021-07-01T21:46:19.156600Z

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.

seancorfield 2021-07-01T21:46:33.157Z

defmethod is just regular Clojure and works fine with Polylith.

Nikolas Pafitis 2021-07-01T21:52:31.157800Z

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

seancorfield 2021-07-01T21:56:35.157900Z

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

✅ 1
Nikolas Pafitis 2021-07-01T21:58:12.158100Z

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

1