om

Please ask the channel first, not @dnolen directly!
2017-03-19T00:32:46.371163Z

@raspasov you can do that in the callback function you pass to :send (in the reconceiler), I used a recursive go loop on timeout. Don't have to code on me, its not a om specific problem, but you may want to add the status of the callback into the global state so that all components are aware when the data has been succecfully received or declared failed.

raspasov 2017-03-19T00:35:00.377093Z

@hlolli thank you, yes I know it’s not Om specific, and I know it can vary in different cases; but I think the approach you’re suggesting is a good general one

2017-03-19T00:36:40.381646Z

there are some methods in goog.XhrIo that can do this too, but in general, Im a fan of recurcion, Im a fan of recurcion.

raspasov 2017-03-19T02:12:54.628399Z

@hlolli I agree

2017-03-19T13:07:31.053632Z

@anmonteiro that could work thanks. - Do you know how to access that property afterwards? (cljs and clj)? This makes me think: is there a way to create an anonymous defui?

2017-03-19T13:16:19.078176Z

I tried (collect-statics Foo), this gives an error. But I don't know what dt stands for: https://github.com/omcljs/om/blob/168aa5ceab46563b24d84ce21061dede0993e255/src/main/om/next.cljc#L25

2017-03-19T13:36:30.137095Z

Ah just seeing the ui macro in the source.

foobar 2017-03-19T20:57:16.701047Z

Why would a component have a nil reactKey?