开发者工具

              getInitialState,
              componentWillMount-start,red
              componentWillMount-after-sunrise,red
              componentWillMount-end,red
              before-setState-sunrise,red
              after-setState-sunrise,sunrise
              after-setState-orange,orange
              render,orange
              componentDidMount-start,orange
              componentDidMount-end,orange
              shouldComponentUpdate-currentState,orange
              shouldComponentUpdate-nextState,yellow
              componentWillUpdate-currentState,orange
              componentWillUpdate-nextState,yellow
              render,yellow
              componentDidUpdate-currentState,yellow
              componentDidUpdate-prevState,orange
              setState-sunrise,yellow
              setState-orange,yellow
              setState-yellow,yellow
              initial-callback,yellow
              componentWillReceiveProps-start,yellow
              componentWillReceiveProps-end,yellow
              before-setState-receiveProps,yellow
              before-setState-again-receiveProps,
              after-setState-receiveProps,green
              shouldComponentUpdate-currentState,yellow
              shouldComponentUpdate-nextState,green
              componentWillUpdate-currentState,yellow
              componentWillUpdate-nextState,green
              render,green
              componentDidUpdate-currentState,green
              componentDidUpdate-prevState,yellow
              setState-receiveProps,green
              setProps,green
              shouldComponentUpdate-currentState,green
              shouldComponentUpdate-nextState,blue
              componentWillUpdate-currentState,green
              componentWillUpdate-nextState,blue
              render,blue
              componentDidUpdate-currentState,blue
              componentDidUpdate-prevState,green
              setFavoriteColor,blue
              componentWillUpdate-currentState,blue
              componentWillUpdate-nextState,blue
              render,blue
              componentDidUpdate-currentState,blue
              componentDidUpdate-prevState,blue
              forceUpdate,blue
              componentWillUnmount,blue