atlassian-labs / storybook-addon-performance

🚧 A storybook addon to help better understand and debug performance for React components.
https://storybook-addon-performance.netlify.com
Other
652 stars 32 forks source link

Support React 18.x #108

Open Aloushek opened 2 years ago

Aloushek commented 2 years ago

Hello there, we want to use this plugin but our project runs on react@18.2.0 Are there any plans to update dependencies (merge PRs) and release a new version with React 18 support?

raminmz66 commented 1 year ago

Hi there, We have also the same issue. I get the following dependency resolution error when installing storybook-addon-performance with React@18.x

npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^16.8.0 || ^17.0.0" from storybook-addon-performance@0.16.1 npm ERR! node_modules/storybook-addon-performance npm ERR! dev storybook-addon-performance@"*" from the root project

DarkPurple141 commented 1 year ago

Hi folks 👋 - we're working on this - it's non-trivial to get this working as the way react itself works in v18 has shifted the way timings work. Thanks for your patience 🙏.