Fork me on GitHub
#re-frame
<
2019-08-22
>
superstructor02:08:57

Correct, I think :epochs/recieve-new-traces event puts these in the re-frame-10x app-db/atom - https://github.com/Day8/re-frame-10x/blob/master/src/day8/re_frame_10x/events.cljs#L594 There might be some fns of interest in metamorphic ns - https://github.com/Day8/re-frame-10x/blob/master/src/day8/re_frame_10x/metamorphic.cljc#L219

danielneal06:08:09

Thanks both! This gives me some good pointers

abdullahibra08:08:43

i'm frustrated by how can i fix upload in progress status UI

abdullahibra08:08:26

what am i doing? update the status using event dispatch at :progress-handler [:update/progress file-name s] => s is the updated (* 100 (/ (.-loaded e) (.-total e)))

abdullahibra08:08:56

to get the progress of specific file i make a subscribe and provide the file-name

abdullahibra08:08:12

but some times works, some times i don't get anything

abdullahibra08:08:21

what i observer, it only show the progress if there is a successfully uploaded file

abdullahibra08:08:32

there is a delay for subscriber

abdullahibra08:08:01

can anybody help in this?

mccraigmccraig09:08:56

is your progress-handler being called @abdullahibra?

abdullahibra09:08:34

progress-handler is within :http-xhrio {:method :post

mccraigmccraig09:08:29

but is it actually being called @abdullahibra?

mccraigmccraig09:08:52

perhaps include reframe-10x in your project then, and follow the dominos...

mynomoto16:08:53

Hi, does anyone have some pointers on how to do navigation/transitions using re-frame on react-native? (crossposting on #cljsrn)