Re:Luminus – A Clojure Web Framework
by throw03172019 on Monday April 13, 2020 @01:29AM
(#22853420)
I tried using reagent but wasn’t a fan of the atoms everywhere approach. Fine for small projectS IMO.
[ Parent
| on HN ]
Re:Luminus – A Clojure Web Framework
by reitzensteinm on Monday April 13, 2020 @02:02AM
(#22853524)
Do you mean cursors everywhere, or actual atoms? I maintained a fairly large project (3 man years or so) that used local atoms only for ephemeral components where you'd want to lose their state when hidden.
Components were passed cursors in to a single global atom, which more or less worked OK.
I think I'd use the re-frame model starting from scratch, but managing the app's state was probably not a top 5 problem for me. Every program is different of course!
Integrating external libraries, validating data, server side rendering, caching remote queries and tracking down compilation/logic errors would probably be my top 5. This was 5 years ago though.