from Hacker News

React-lifecycle-visualizer v2.0 released

by oblosys on 6/20/18, 4:59 PM with 1 comments

  • by oblosys on 6/20/18, 5:00 PM

    Inspired by StackOverflow questions on React's new lifecycle methods, I created a light-weight package that visualizes which lifecycle methods are called and in what order. It can be installed with `npm -i react-lifecycle-visualizer`, but was mainly designed to run on StackBlitz:

    https://stackblitz.com/github/Oblosys/react-lifecycle-visual...

    Version 2.0 has a more consistent interface, includes TypeScript typings, and looks a little prettier. Comments and suggestions are welcome!