✨Discover storytelling in the AI age with Pixar's Matthew Luhn at Sanity Connect, May 8th—register now

Questions about the compatibility and dependencies of the "hydrogen-sanity" library in Shopify Hydrogen (Remix) and Sanity.

3 replies
Last updated: Mar 7, 2024
Hi all,Started getting a proof of concept going with a template I found. I'm working specifically with Shopify Hydrogen (Remix) and Sanity. This template uses a library called "hydrogen-sanity" and we are trying to get it working. I have 2 very specific questions.
1: is
Hydrogen-Sanity supported (it seems active) and is it's underlying use of potentially deprecated methods okay to use still?2: When talking about 'Live Preview' and 'Visual Editing'. Are these 2 dependant on each other? It seems like getting a preview to render and update with live changes to content lake data is one thing, and you could additionally add the visual editing as a nice feature, but do they require both for each to work?
Mar 6, 2024, 1:23 AM
To be a little more clear. Is implementing preview/live-preview, you don't have to use the visual-editing package as well to have everything work? The visual-editing would be dependant on getting preview / live-preview hooked up, but not the other way around correct?
Mar 6, 2024, 1:34 AM
You’ve got that correct! In terms of the Hydrogen package, that’s very much still supported.
Mar 6, 2024, 4:26 PM
user M
Thank you for clarifying! Appreciate the response. Will move forward using this package 🙂
Mar 7, 2024, 5:56 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?