webpack-visualizer icon indicating copy to clipboard operation
webpack-visualizer copied to clipboard

React 15

Open cchamberlain opened this issue 8 years ago • 2 comments

React 15 has been out for a while. I like this plugin but I need to drop it from my project until it is bumped to support it.

image

Any plans to bump up the dependency?

cchamberlain avatar Apr 27 '17 21:04 cchamberlain

Same issue. We can overwrite old React by some specific magic with dependencies, but that's wrong way. Maybe it is possible to move React from "dependencies" to "devDependencies" or "optionalDependencies" for preventing visualizer's instance of React in a main project.

fenderil avatar Aug 04 '17 22:08 fenderil

Same issue. Now the chrome console will show the warning. If our project is upgraded to react v16, we will have to remove this package.

Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs

chaofan-nirvana avatar Aug 16 '17 07:08 chaofan-nirvana