Closed vincentreynaud closed 1 month ago
Did you try motion.create
and it wasn't working?
Ok so I believe it was throwing an error in my gatsby app previously. Lost track of what changed so that it doesn't throw errors anymore, but i managed to make both work now. Sorry for the false alert.
Just updated my modules and saw that the motion
function no longer works, same goes for motion.create
But this way I can not use the library anymore with 3rd party UI components, since I can not control how these components are structured. Seems like the only way to use framer with 3rd party UI components is to create a new component, which then renders the UI component from the framework right?
The current Framer documentation suggests to create custom components in the following way:
when in fact one should use this, at least for the latest packages.
Took me a bit to find out after encountering a few stack overflow issues.
Please fix the docs of an otherwise amazing library 🙏