How to Migrate useNavigate in App Bridge React 4.x.x using Next.js?

camerafi-dev
Shopify Partner
6 0 3

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.

Reply 1 (1)

jaymitBeladiya
Shopify Partner
17 0 5

Hi @camerafi-dev ,

Did you find a solution for it?

Thank you.