Skip to content

Commit

Permalink
Update MIGRATION.md
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
  • Loading branch information
valentinpalkovic and shilman authored Jan 9, 2024
1 parent bd4aa2c commit 618d45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ We are doing this to make Storybook more flexible and to allow users to use a va

In Storybook 8.0, we have removed the `framework.options.fastRefresh` option.

The fast-refresh implementation currently relies on the `react-refresh/babel` package. While this has served us well, integrating this dependency could pose challenges. Specifically, it would necessitate locking users into a specific Babel version. This could become a bottleneck, especially when Babel 8 is released. There is uncertainty about whether react-refresh/babel will seamlessly support Babel 8, potentially hindering users from updating smoothly.
The fast-refresh implementation currently relies on the `react-refresh/babel` package. While this has served us well, integrating this dependency could pose challenges. Specifically, it locks users into a specific Babel version. This could become a problem when Babel 8 is released. There is uncertainty about whether react-refresh/babel will seamlessly support Babel 8, potentially hindering users from updating smoothly.

Furthermore, the existing implementation does not account for cases where fast-refresh might already be configured in a user's Babel configuration. Rather than filtering out existing configurations, our current approach could lead to duplications, resulting in a sub-optimal development experience.

Expand Down

0 comments on commit 618d45c

Please sign in to comment.