projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.45k stars 1.16k forks source link

got an error in gallary demo: diagrams-demo-gallery #999

Open lmx99 opened 1 year ago

lmx99 commented 1 year ago

caught TypeError: dispatcher.useInsertionEffect is not a function at useInsertionEffect (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:87757:21) at useInsertionEffectMaybe (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:26331:3) at Insertion (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:26342:15) at renderWithHooks (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:75646:18) at mountIndeterminateComponent (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:78325:13) at beginWork (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:79439:16) at HTMLUnknownElement.callCallback (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:61031:14) at Object.invokeGuardedCallbackDev (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:61080:16) at invokeGuardedCallback (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:61135:31) at beginWork$1 (vendors-node_modules_pnpm_storybook_addon-actions_6_5_15_react-dom_16_14_0_react_18_2_0node-33856c.manager.bundle.js:84046:7)

lmx99 commented 1 year ago

i fix it, because of the react version too high

image