feat: Add motion design system and typography updates - #2
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 975a2eaaba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| variants={pageVariants} | ||
| transition={easeEnter} | ||
| > | ||
| <Outlet /> |
There was a problem hiding this comment.
Snapshot the routed outlet before animating it
On any public route change, the exiting motion.div still renders a live <Outlet />. Because <Outlet /> reads the current router context, the destination route is mounted inside the exiting wrapper and then mounted again when mode="wait" admits the entering wrapper, so pages with mount effects such as Home and Adoption can refetch and briefly render under the exit animation. Store const outlet = useOutlet() and render that captured element inside the keyed motion node.
Useful? React with 👍 / 👎.
No description provided.