generator-shopify-nextjs icon indicating copy to clipboard operation
generator-shopify-nextjs copied to clipboard

ResourcePicker component not rendering on Shopify Admin

Open junaid33 opened this issue 6 years ago • 2 comments

Hello,

I am trying to add a ResourcePicker to index.js and it does not load in the Shopify Admin. Is this a problem with the AppProvider component and SSR? I see it referenced here:

https://github.com/Shopify/polaris-react/issues/372

Thank you!

junaid33 avatar Dec 10 '18 19:12 junaid33

Likely the issue isn't related to SSR as the version of Polaris specified in our package.json server-renders OK, difficult to write without seeing the error...

khoerling avatar Dec 10 '18 19:12 khoerling

Hmmm...it doesn't throw an error. It's just not rendered on localhost nor on the Admin as an embedded app. If you would like to test, just import ResourcePicker.

junaid33 avatar Dec 10 '18 20:12 junaid33