Fork me on GitHub
#re-frame
<
2016-03-23
>
danielcompton00:03:50

@josh.freckleton: handlers can take many arguments, you could write a generic handler like

(dispatch [:query-remote-db db-ref :users-table “123"

danielcompton00:03:37

look at what would be varying if you were to write a handler for each resource, then make them parameters in one or a few handlers

josh.freckleton01:03:58

@danielcompton: great advice, I'll do something like that simple_smile

escherize01:03:58

is there any prior work around making an app-db's timeline traversable, maybe with diffs? i.e. I hit Save in my app, a few things happen. Is there a way to send the value the app-db is holding someplace where I can inspect it and look through it?

escherize01:03:41

oh and @danielcompton listening to your episode of Decompress! (https://www.decompress.in/episodes/4/)

danielcompton01:03:27

@escherize: there is undo, you could do something with inspecting the undo values? Or just take a copy of app-db and store it somewhere?