I'm a bit surprised this pattern isn't more popular; having side-effectful functions return ratoms in a form-2 component seems almost as flexible as Hooks. It seems that most CLJS people try and keep their views more pure, which I think is honestly to their overall detriment. You miss out on the encapsulation and composition that React is espousing.
That being said, I intend to replace reagent soon with just raw React + a few helpers :P
That being said, I intend to replace reagent soon with just raw React + a few helpers :P