@storybook/react version 6.1.0 introduces several notable updates compared to version 6.0.28, enhancing the developer experience for React component development and isolation.
Key dependency upgrades in 6.1.0 include webpack (from 4.43.0 to 4.44.2), core-js, and Typescript and Babel related packages such as @babel/preset-flow and @babel/preset-react . The react-refresh package is introduced for enabling Fast Refresh, significantly improving the hot reloading experience during development, providing near-instant updates without losing component state, a major productivity booster. A dedicated webpack plugin @pmmmwh/react-refresh-webpack-plugin is provided for supporting react-refresh.
Version 6.1.0 updates various other dependencies, reflecting ongoing improvements to the Storybook ecosystem. While both versions share the core purpose of facilitating isolated React component development with hot reloading, the newer version delivers enhancements in dependency management to provide the user with the latest stable releases of the required tooling.
Peer dependency specifications are also refined in 6.1.0, providing more accurate and consistent expectations for the react and react-dom versions expected. These focused improvements in dependencies contribute to a more optimized and reliable Storybook environment for React developers.
The are not vulnerabilities for the version 6.1.0 of the package @storybook/react