re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
rberger 2020-07-28T05:42:40.095500Z

We ended up mostly breaking our event.cljs up into files under events that matched our views using namespaced keywords for the events. We kept the subs in a global subs file at least for now.

2đź‘Ť
genekim 2020-07-28T14:27:26.095900Z

Whoa! What a super, super idea!!! Thank you!!!

genekim 2020-07-28T14:39:03.096100Z

Thanks so much for the suggestion, @rberger. PS: as I’ve been studying what has been tripping me up in the events, one of them is the lack of “information hiding.” In the global db, I have the raw list of Trello cards, and a “materialized view”, where filters are applied and other things I don’t remember. I had some events inappropriately accessing the raw list, instead of the materialized list… I’m now pondering how to keep certain parts of code from seeing the raw card list, lest I make the same mistake again… (Maybe I nest certain elements in the global db into an area called, :private-do-not-look-or-touch` — as they are the “model,” not for the view?)

devn 2020-07-28T15:59:25.097Z

@genekim FWIW, I’m very interested in your code.

genekim 2020-07-28T16:43:30.098600Z

@devn Just posted the program I wrote to generate the “event dispatch graph” above — it has lots of obvious flaws, but I hope might be useful to someone! It definitely helped me! https://github.com/realgenekim/re-frame-event-graph

3❤️