React Lifecycle Visualizer Versions Save

Real-time visualizer for React lifecycle methods

v2.2.6

4 years ago

Changes

  • Update npm dependencies

v2.2.5

4 years ago

Changes

  • Update npm dependencies

v2.2.4

4 years ago

Changes

  • Update npm dependencies

v2.2.3

5 years ago

Changes

  • Fix high-security tar vulnerability by replacing node-sass dependency with sass. (see sass/node-sass#2625)

v2.2.2

5 years ago

Changes

  • Fix crash when highlighting a non-string trace (e.g. this.props.trace(42))
  • Update dependencies
  • Test on node v8, v10, & v12

v2.2.0

5 years ago

Changes

  • Update npm dependencies
    • Version 6 ofreact-redux required a rewrite to pass the custom store via a React context, as storeKey is no longer supported.
    • Version 8 of babel-loader moves a bunch of packages to the @babel/ scope and also required some changes to .babelrc.
  • Change demo port from 8001 to 8000

v2.1.1

5 years ago

Changes

  • Update npm dependencies

v2.1.0

5 years ago

Changes

  • UNSAFE_ lifecycle methods are now supported. For brevity, they show up in the log and the panels without the UNSAFE_ prefix.
  • Fixed typos in README (#5)

v2.0.0

5 years ago

Instead of modifying the traced component and magically adding new properties to it, the traced component is now more conventionally wrapped by a TracingComponent, and trace and LifecyclePanel are passed as props (underwater the component still needs to be modified to intercept the lifecycle methods though). This gives more control over the constructor, and makes for a more consistent interface. It also makes it much easier to type traceLifecycle, and TypeScript definitions are now included with the package.

Changes

  • Traced components are wrapped by a TracingComponent, which removes the requirement of passing context to super when using an explicit constructor (issue #1)
  • trace and LifecyclePanel are passed as props
  • TypeScript type definitions are included with the package
  • Layout is a little prettier, especially on Windows
  • Enzyme tests have been added

Breaking change

  • Because trace can now be accessed as nextProps.trace in the static getDerivedStateFromProps, it is no longer added to the prevState parameter

Deprecated

  • this.trace (replaced by this.props.trace)
  • this.LifecyclePanel (replaced by this.props.LifecyclePanel)
  • clearInstanceIdCounters (replaced by more appropriately named resetInstanceIdCounters)

The deprecated versions will continue to work in version 2.x, but generate a warning on the console.