Echo JS 0.11.0

<~>
domagojk 2764 days ago. link parent 1 point
Sorry, I neglected the fact you need this on "componentDidMount".

I plan to add sources.lifecycle stream where you can listen for that event and then make your request.

Replies

xat 2764 days ago. link 1 point
No Problem. sources.lifecycle sounds like a nice idea!

So the "Rx.Observable.interval(1000)" in the example gets called on componentWillMount at the moment, correct?
domagojk 2764 days ago. link 1 point
Yes, that's correct.

update() and dispatch() functions are called only once, on componentWillMount.