Closed flexsurfer closed 6 years ago
Hi, I'd like to work on this if you are still looking for a contributor. Is there anything in particular I should know before getting started?
@flexsurfer Done, please have a look. I haven't bumped version numbers anywhere this time.
ping?
yes @dottedmag thanks for reminding, sorry for the delay
@flexsurfer Added changes here and in lein-re-frisk
to only compute diffs and send messages if there is a UI client connected to sidecar.
@flexsurfer Problem with :app-db
transfers is fixed. Scenario for reproducing:
re-frisk-remote
lein-re-frisk
detects the disconnection):app-db
anymore.@flexsurfer :before
/:after
mixup is fixed.
Both fixes are added as separate commits to the pull request for easier review.
Awesome job @dottedmag , thanks!
In current implementation all data is sending each time app-db or subscriptions are changed, we need to optimize it and send only difference because data transformation is expensive
https://github.com/flexsurfer/re-frisk-remote/blob/master/src/re_frisk_remote/core.cljs#L27 https://github.com/flexsurfer/re-frisk-remote/blob/master/src/re_frisk_remote/core.cljs#L37
And also implement update debouncing for app-db, in current implementation it works only for subscriptions
This task should be done with https://github.com/flexsurfer/lein-re-frisk/issues/4