react-lifecycles-log
Quickly debug the life cycle of the react component.
"peerDependencies": { "react": "^16.3.1" }
Install
npm install react-lifecycles-log -D
Usage
;; @LifeHOCComponent ... // or
Test
T -> constructor {} {} T -> getDerivedStateFromProps {} {} T -> render[1] child.constructor child.getDerivedStateFromProps {} {} child.render child.componentDidMount T -> componentDidMount T -> getDerivedStateFromProps
License
MIT