[FEATURE]Small introduction to use it with page transitions, like pose had done
See original GitHub issueIt would be great to get some realworld examples. When it"s production ready, we would like to see some real scenarios, like page transitions in use with react router dom.
` const AnimationSettings = { transition: { duration: 0.5 }, initial: { opacity: 0, y: 20 }, animate: { opacity: 1, y: 0 }, exit: { opacity: 0, y: -20 }, };
const Routes = () => { const { location } = React.useContext(__RouterContext);
return ( <AnimatePresence {…AnimationSettings}> <Switch location={location}> <Route exact path="/" component={Dashboard} />
<Route path="/board/:id" component={({ match }) => <BoardDetail boardId={match.params.id} />} />
<Route path="/dashboard" exact component={Dashboard} />
<Route path="/projects" exact component={Projects} />
<Route path="/createboard" exact component={CreateBoard} />
<Route path="/statistic/:id" component={({ match }) => <Statistic questionId={match.params.id} />} />
</Switch>
</AnimatePresence>
); };
export default Routes; `
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:14
Top Results From Across the Web
Page Transitions with React Router and Framer Motion
Whats up everyone! Hope you all are doing well. In this episode we create a really cool page transition using framer motion and...
Read more >React Router V6 and Framer Motion Tutorial - YouTube
PAGE TRANSITION ANIMATIONS IN REACT! In this video I will be showing how to use the framer motion library to create page transitions...
Read more >Bringing page transitions to the web - YouTube
Native apps often feature transitions between states that both look great and help communicate the type of navigation to the user.
Read more >Framer Motion | Page Transitions in React - YouTube
Get the course files: https://codesnap.io/course/react-bites/framer-motion- page - transitions ⚡️ Check out more courses like this: ...
Read more >Burlington Design Standards Project: Historic ... - Burlington, NC
What are Design Standards? • Rules for how landscapes and buildings are treated when they are part of locally-designated historic districts and landmarks ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is a working example:
And inside my board if could also do some nice staggering effects while loading in data:
Here is a very basic example with Gatsby if anyone is interested:
https://github.com/ryanwiemer/gatsby-using-page-transitions