RamonGebben/react-perf-tool

`ReactPerf.getMeasurementsSummaryMap` deprecation warning on React 15.3

Closed this issue · 5 comments

I'm getting the following warning:

Warning: `ReactPerf.getMeasurementsSummaryMap(...)` is deprecated. Use `ReactPerf.getWasted(...)` instead.

Also seeing an error after that:

Uncaught TypeError: Cannot read property 'split' of undefined

If you want to study further, I set up a branch showcasing the error. npm install, node_modules/.bin/lerna bootstrap, npm start to get it running.

screenshot 2016-08-04 20 00 34

+1
Have the exact same issue with the library line up of:

  • react-addons-perf: 15.3.0
  • react-perf-tool: 0.1.5
  • react: 15.3.0

To let you guys know I'm working on resolving this issue.
The Warning: ReactPerf.getMeasurementsSummaryMap(...)is deprecated. UseReactPerf.getWasted(...) instead. was being generated by the console.log I left laying around so that's already resolved.
How ever since react-addons-performance has updated their format I would need to dive into the new format.

Hopefully have an update ready by the end of the week.

Any updates on this?

@markmur I fixed this in #14

Just published new version(0.1.7) including @tbranyen fix to npm.
Thanks for solving this.