mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Merge pull request #20602 from storybookjs/migration-guide-organization
Organize 7.0 migration guide
This commit is contained in:
commit
f47000eecd
877
MIGRATION.md
877
MIGRATION.md
File diff suppressed because it is too large
Load Diff
@ -306,7 +306,7 @@ export class Preview<TFramework extends Renderer> {
|
||||
await Promise.all(this.storyRenders.filter((r) => r.id === storyId).map((r) => r.remount()));
|
||||
}
|
||||
|
||||
// Used by docs' modernInlineRender to render a story to a given element
|
||||
// Used by docs to render a story to a given element
|
||||
// Note this short-circuits the `prepare()` phase of the StoryRender,
|
||||
// main to be consistent with the previous behaviour. In the future,
|
||||
// we will change it to go ahead and load the story, which will end up being
|
||||
|
@ -49,7 +49,6 @@ Additionally, you can also provide additional feature flags to your Storybook co
|
||||
| `emotionAlias` | Provides backwards compatibility for Emotion. See the [migration documentation](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#emotion11-quasi-compatibility) for context.<br/> `features: { emotionAlias: false }` |
|
||||
| `babelModeV7` | Enables the new [Babel configuration](./babel.md#v7-mode) mode for Storybook. <br/> `features: { babelModeV7: true }` |
|
||||
| `postcss` | Disables the implicit PostCSS warning. See the [migration documentation](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-implicit-postcss-loader) for context. <br/> `features: { postcss: false }` |
|
||||
| `modernInlineRender` | Enables Storybook's modern inline rendering mode. <br/> `features: { modernInlineRender: false }` |
|
||||
| `previewMdx2` | Enables experimental support for [MDX 2](../writing-docs/mdx.md#mdx-2).<br/>`features: { previewMdx2: true }` |
|
||||
|
||||
## Configure story loading
|
||||
|
Loading…
x
Reference in New Issue
Block a user