4 ms·
I tried using reagent but wasn’t a fan of the atoms everywhere approach. Fine for small projectS IMO.
by throw03172019 7y ago
I tried using reagent but wasn’t a fan of the atoms everywhere approach. Fine for small projectS IMO.
- reitzensteinm 7y agoDo 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.