Skip to content

Conversation

@antoinekm
Copy link
Contributor

Hey @ivan-dalmet, here is the fix, this implementation is less sexy than #281, but it makes sense to do it if it's only for the back button. The smart back button functionality now works correctly while still maintaining smooth transitions between pages.

Changes

  • Added <ClientRouter /> component to RootLayout for view transitions
  • Updated BackButton component to work with client-side navigation
  • Added navigation history tracking using standard History API

@vercel
Copy link

vercel bot commented Mar 19, 2025

@antoinekm is attempting to deploy a commit to the Team Bearstudio Team on Vercel.

A member of the Team first needs to authorize it.

@antoinekm antoinekm marked this pull request as draft March 19, 2025 08:58
@antoinekm
Copy link
Contributor Author

antoinekm commented Mar 19, 2025

ready !

@vercel
Copy link

vercel bot commented Mar 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
forkit-community ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2025 10:42am

@antoinekm antoinekm force-pushed the fix/client-router-back-button branch from 37ea887 to 0d70f8b Compare May 25, 2025 00:02
@antoinekm antoinekm marked this pull request as ready for review May 25, 2025 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant