Etesam913 / react-magic-motion

react-magic-motion is a react.js library that ✨ magically animates your components.
https://react-magic-motion.com
MIT License
1.12k stars 14 forks source link

Fix `prevDeps` is undefined error when `<MagicTabSelect>` is child of `<MagicMotion>` #19

Closed Etesam913 closed 11 months ago

Etesam913 commented 11 months ago

✨ Overview

Here is a codesandbox with the error: https://codesandbox.io/p/sandbox/react-magic-motion-sidebar-test-56rjpd?file=%2Fsrc%2FApp.tsx%3A2%2C34

image

Etesam913 commented 11 months ago

I added a section to the docs page to address how to fix this: https://www.react-magic-motion.com/troubleshootings