Admin links Examples using React and Node

Highlighted
New Member
2 0 0

Trying to develop an app (react node and Polaris) and i wanted to add an Admin Link for the product details page. I have wired up the link but when the link hits my product create page i am unable to access the query string values. There is no example that i could find in the react node example. 

 

How can i access the query parameters from inside a React.Component?

Example is my Admin Link will create https://xxx.myshopify.com/admin/apps/contentApp/create?id=17231912345051&shop=xxx.myshopify.com. I a...

id = 17231912345051

shop =xxx.myshopify.com

0 Likes