"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.6.2",
"@react-docgen/cli": "^3.0.4",
"@reduxjs/toolkit": "^2.9.0",
"@storybook/react": "^9.1.12",
"react": "^19.2.0",
"react-docgen": "^8.0.2",
"react-dom": "^19.2.0",
"react-redux": "^9.2.0",
"storybook-addon-react-docgen": "^1.2.44"
},
"devDependencies": {
"@chromatic-com/storybook": "4.0.1",
"@eslint/js": "^9.30.1",
"@storybook/addon-docs": "^9.1.5",
"@storybook/addon-vitest": "^9.1.5",
"@storybook/react-vite": "^9.1.5",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^4.6.0",
"@vitest/browser": "^3.2.4",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.30.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"eslint-plugin-storybook": "^9.1.5",
"globals": "^16.3.0",
"msw": "^2.3.0",
"msw-storybook-addon": "^2.0.5",
"playwright": "^1.54.1",
"react-docgen-typescript": "^2.2.2",
"react-docgen-typescript-plugin": "^1.0.8",
"storybook": "^9.1.5",
"storybook-addon-playground": "^3.0.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.35.1",
"vite": "^7.0.4",
"vitest": "^3.2.4"
},
The addon should render successfully and continue to function as it did in React 18.2.
From the error and stack trace, it looks like the addon might rely on APIs deprecated or changed in React 19. It may need updates to work with the latest React release.
Description
After upgrading to React 19,
storybook-addon-playgroundno longer works.In the Storybook UI, the addon shows the following message:
Error Output
Browser console:
Storybook environment:
Steps to Reproduce
storybook-addon-playground.Result: The addon panel fails to render with the above error and displays "This addon has errors".
Expected Behavior
The addon should render successfully and continue to function as it did in React 18.2.
Additional Context
From the error and stack trace, it looks like the addon might rely on APIs deprecated or changed in React 19. It may need updates to work with the latest React release.