Great stuff! From what I've searched on RU-vid, there isn't much Framer Motion content. Would be great if you could continue to add more Framer Motion videos. This video, on the other hand, sure did contribute to my understanding of using Framer Motion for cool page transitions. 👍🏻
great job! but I have a problem, I tried doing the same animation (shrink/grow) but the problem, it is shrinking and growing at the top of the page not in the middle like yours, any help ?
Very useful thanks ! But I can't seems to make it work (but got no error), when I do all the steps it broke my navigation, the URL changes but the content is not loaded anymore... in my app.js file :
Hey Guillaume! Could you possibly upload the full app.js file to GitHub Gists? That way I might be able to help out more. The only other thing I could think of - your location property must be created from the useLocation() hook, not useHistory() or window.location! Cheers!
Hi @@sampcodes, The useLocation hook breaks react-routing for me. I have looked at two other tutorials and it's the same thing. does not render any components, just stays static on the '/' page. gist.github.com/eskimojamz/8274d78dc0b18ebc5ad884f146add8dd gist.github.com/eskimojamz/178a8f81590e55c0d23c471c9764da3f Here are my App.js and index.js files. I would appreciate any help with this.
Oh nevermind, found the solution. Every component needs an "exit" or react-router will only change the url and not the view. stackoverflow.com/a/64328928/14666354 Great video, thanks! :D