On Sunday, September 7, 2014 6:20:55 AM UTC+2, Chris Jones wrote:
On Saturday, September 6, 2014 11:40:04 AM UTC-7, Zubair Quraishi wrote:
I am updating the top most item, so it has no parent in that way.Ok, so if
use IWillMount how can I tell whether it is in render state or not?
On Saturday, September 6, 2014 11:40:04 AM UTC-7, Zubair Quraishi wrote:
I am updating the top most item, so it has no parent in that way.Ok, so if
use IWillMount how can I tell whether it is in render state or not?
IWillMount is the way to go. The 'rendering?' function will tell you if React
I personally avoid doing anything impure in IInitState. To me it seems that
it should be a pure function returning a map of the local state. IWillMount
is a better place to do things.
Could you perform the updates in the parent?
On 5 September 2014 10:23, Zubair Quraishi zuba...@gmail.com