Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with version 0.17.1 and Storybook 6 and react.js 18 #137

Open
silversonicaxel opened this issue Mar 17, 2023 · 0 comments
Open

Issue with version 0.17.1 and Storybook 6 and react.js 18 #137

silversonicaxel opened this issue Mar 17, 2023 · 0 comments

Comments

@silversonicaxel
Copy link

silversonicaxel commented Mar 17, 2023

This issue is the evolution of the issue #132

With these libs :

    "react": "^18.2.0",
    "react-dom": "^18.2.0",

    "@storybook/addon-a11y": "^6.5.16",
    "@storybook/addon-actions": "^6.5.16",
    "@storybook/addon-essentials": "^6.5.16",
    "@storybook/addon-interactions": "^6.5.16",
    "@storybook/addon-links": "^6.5.16",
    "@storybook/addons": "^6.5.16",
    "@storybook/builder-webpack5": "^6.5.16",
    "@storybook/manager-webpack5": "^6.5.16",
    "@storybook/mdx2-csf": "^0.0.3",
    "@storybook/react": "^6.5.16",
    "@storybook/theming": "^6.5.16",
    "storybook-addon-performance": "^0.17.1",

and this config in main.ts :

   addons: [
     { name: '@storybook/addon-a11y' },
     { name: '@storybook/addon-essentials',   
     { 
       name: '@storybook/addon-essentials',
       options: { backgrounds: false },
     },
     { name: '@storybook/addon-interactions' },
     { name: '@storybook/addon-links' },
     { name: 'storybook-addon-performance' },
   ],

and this config in preview.tsx :

import { withPerformance } from 'storybook-addon-performance';

...

export const decorators = [
  (Story: FC): JSX.Element => {
    return (
      <ThemeProvider>
        <Story />
      </ThemeProvider>
    );
  },
  withPerformance
];

making the Storybook server up and running has no errors occurring, but the Performance addon is not appearing on the addons section.

other ideas?

is it related to this #108 and #117 ?

@silversonicaxel silversonicaxel changed the title Issue with version 0.17.1 and Storybook 6 and react.js 18 #132 Issue with version 0.17.1 and Storybook 6 and react.js 18 Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant