You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am using react-spring inside storybook, it works fine when am running development, but after build it gives me the error TypeError: _globals__WEBPACK_IMPORTED_MODULE_0__.willAdvance is not a function
To Reproduce
run npx -p @storybook/cli sb init --type react in an empty directory
run npm i react-spring@next --save
create stories/test.stories.tsx with the code
run npm run build-storybook
run npx http-server storybook-static
open the test story
you'll see the TypeError: _globals__WEBPACK_IMPORTED_MODULE_0__.willAdvance is not a function in the console and the animation won't be working
I've tried using react spring v8 and it didn't seem to break but when using v9 it seems to throw this error
Expected behavior
The animation should work properly without any error in the console
Environment
react-spring v9.0.0-rc.3
react v16.13.1
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
Am using react-spring inside storybook, it works fine when am running development, but after build it gives me the error
TypeError: _globals__WEBPACK_IMPORTED_MODULE_0__.willAdvance is not a function
To Reproduce
run
npx -p @storybook/cli sb init --type react
in an empty directoryrun
npm i react-spring@next --save
create
stories/test.stories.tsx
with the coderun
npm run build-storybook
run
npx http-server storybook-static
open the test story
you'll see the
TypeError: _globals__WEBPACK_IMPORTED_MODULE_0__.willAdvance is not a function
in the console and the animation won't be workingI've tried using react spring v8 and it didn't seem to break but when using v9 it seems to throw this error
Expected behavior
The animation should work properly without any error in the console
Environment
react-spring
v9.0.0-rc.3react
v16.13.1The text was updated successfully, but these errors were encountered: