No content to show
User Activity
Another solution using hooks:import { NavMenu } from "@shopify/app-bridge-react";
import { useMemo } from "react";
import { useLocation, Link } from "react-router-dom";
const location = useLocation();
const navMenu = useMemo(() =>
<NavMenu key={loca...
Hi @camerafi-dev,I don't use Next.js but ended up here while looking for a solution for vanilla react.There is a hook in the react-router-dom library. So this works for me: import { Link } from "@shopify/polaris";
import { useNavigate } from "react-r...
You can use the following GraphQL query:{
files(first: 5, query: "filename:'yourfilename'" ) {
edges {
node {
alt
id
}
}
}
}But this query returns multiple files if they have similar names. Unfortunately there ...