Replies: 1 comment 16 replies
-
Hi! We still need to explore ways for incremental adoption but what we have right now is the ability to use Hydrogen as a proxy to Liquid. In your specific use case, it seems that what you want is having your general layout and pages in Liquid, and then inject content in some part of the document at the Hydrogen level. This might also be possible with the previous approach. Once you get the HTML from Liquid in the Hydrogen handler, that string can be modified to add your custom content. For example, you could use the HTMLRewriter API if you are deploying to Oxygen or Cloudflare Workers -- currently this API is not available in development but we should fix that. |
Beta Was this translation helpful? Give feedback.
-
Hey all!
Saw on the roadmap that there's something in the works for incremental adoption from Online Store. This sounds really compelling for our use case and wanted to know if I could get more info or provide any feedback.
Our main site is a Shopify store but we serve content such as articles, case studies, landing pages through the App Proxy. The content is built using a Next.js app and we utilize the App Proxy Liquid rendering pretty heavily.
The end result is
We've run into a lot of pain points using this approach and I've been thinking about switching over the Next.js app to Hydrogen and serving it through the App Proxy. Migrating our entire site to Hydrogen isn't very appealing as the theme's codebase is pretty big.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions