App reviews, troubleshooting, and recommendations
Hello.
I want to use Navigation in Next.js,
But There are no contents React Hooks or React Components in docs(https://shopify.dev/docs/api/app-bridge-library/apis/navigation)
unlike previous-version docs(https://shopify.dev/docs/api/app-bridge/previous-versions/actions/navigation)
Only Remix version of the guide exists in that document.
(I don't have any plan using Remix.)
How to Migrate useNavigate in App Bridge React 4.x.x using Next.js?
Thank you.
This still needs to be solved. As mentioned in this guide they suggest using Navigation API instead but it's not relevant as it does not provide you an option to navigate user as it was before programmatically.
Navigation.navigate
- not supported in many browsers
- not allows you to navigate in new page
- not allows to use syntax that they made before
Completely agree. We currently don't have a working solution to navigate client-side within the app programmatically. Actually Remix's `navigate` from `useNavigate` worked fine for me.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025