Storefront Web Components
41–50 of 57 posts
Re: Storefront Web Components
#42Are developers able to use this within Shopify apps ? I wish Shopify made it easier to discern who the audience are for these frameworks since they have quite a few.
https://shopify.dev/beta/next-gen-dev-platform/polaris
I’m a dev on this new Polaris, feel free to ask anything!
Re: Storefront Web Components
#43Re: Storefront Web Components
#44I'm on the dev team that built this. Happy to answer any questions! We essentially use web components as a templating language to dynamically generate a GraphQL query to Shopify. Then render the data as text nodes inside the web components. This is powerful because the components don't include shadow roots. So you can come with your own HTML and CSS. Most web component libraries are opinionated about design, and give…
Really cool! Curious to know what was your testing strategy for these?
Re: Storefront Web Components
#45Is it going to be open sourced at all? I took a brief look at shopify's GitHub and didn't see it there.
Re: Storefront Web Components
#46I'm on the dev team that built this. Happy to answer any questions! We essentially use web components as a templating language to dynamically generate a GraphQL query to Shopify. Then render the data as text nodes inside the web components. This is powerful because the components don't include shadow roots. So you can come with your own HTML and CSS. Most web component libraries are opinionated about design, and give…
Separately, nice touch adding the refined LLM instructions, this looks like a nice pattern for other UI frameworks to follow.
Re: Storefront Web Components
#47I never used Shopify much, can it be used to deliver digital products?
Re: Storefront Web Components
#48Re: Storefront Web Components
#49I'm on the dev team that built this. Happy to answer any questions! We essentially use web components as a templating language to dynamically generate a GraphQL query to Shopify. Then render the data as text nodes inside the web components. This is powerful because the components don't include shadow roots. So you can come with your own HTML and CSS. Most web component libraries are opinionated about design, and give…