 
     reactSpec.componentDidUpdate = (prevProps, prevState) ->
         return if @_showingLoader
-
         prevAfterRenderCallbacks = @_afterRenderCallbacks ? []
         @_afterRenderCallbacks = []
         callback() for callback in prevAfterRenderCallbacks

                return true
            ancestor = ancestor._owner
        false


    reactSpec.renderLoader ?= ->


        componentSpec.componentDidMount?.apply @

        return if @_showingLoader
        prevAfterRenderCallbacks = @_afterRenderCallbacks ? []
        @_afterRenderCallbacks = []
        callback() for callback in prevAfterRenderCallbacks


    reactSpec.shouldComponentUpdate = (nextProps, nextState) ->
        not @_elementVar? or @_elementVar.invalidated
