-
Notifications
You must be signed in to change notification settings - Fork 785
-
Notifications
You must be signed in to change notification settings - Fork 785
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
[BUG] LazyMotion and framer-motion-3d error about tree shaking #2790
Comments
There's no But also, the size of React Three Fiber and Three.js will dwarf Framer Motion anyway. So if you're including those in the initial bundle you won't see much benefit from |
1. Read the FAQs 👇
2. Describe the bug
Using
LazyMotion
withstrict
prop throw an error also withmotion
fromframer-motion-3d
.3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/sandbox/v4gc78
4. Steps to reproduce
Steps to reproduce the behavior:
5. Expected behavior
I am getting this error
if I use
framer-motion
andframer-motion-3d
I cannot useLazyMotion
? Because as far I know there is notm
component to use fromframer-motion-3d
. Error is telling the truth or it does not recognizemotion
come fromframer-motion-3d
and so I can remove thestrict
prop and safe ignore the error?6. Video or screenshots
I think not applicable
7. Environment details
I think not applicable, getting the same error also in codesanbox.
The text was updated successfully, but these errors were encountered: