App reviews, troubleshooting, and recommendations
Hi everyone,
I was trying to go over the code of the shopify Review Demo App that explains the new Approach of developing app from now on but I came across these two imports
=> import { Rating } from "components"
=> import { useProducts } from "hooks";
From hooks and components. are these libraries that we have to include in our project or its something that comes from shopify app-bridge? I couldn't exactly understand where these are coming from and any help is really appreciated.
Thanks
Solved! Go to the solution
This is an accepted solution.
In case someone is having the same problem; there are folders in the root name components and hooks and you will need to add the ../ infront to go to the right path as shown below.
import { Rating } from "../components"
This is an accepted solution.
In case someone is having the same problem; there are folders in the root name components and hooks and you will need to add the ../ infront to go to the right path as shown below.
import { Rating } from "../components"
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025