See Sanity in action 👀 Join us for a live product demo + Q&A →

Confusion over which Real-Time Preview workflow to use in Sanity

3 replies
Last updated: Mar 1, 2023
The Sanity team seems to offer multiple workflows for implementing Real-Time Previews. Which one is the most correct or up to date? I don't really want to use a specific starter, so I started with this template: , which directed me to #2 below ( ). As a sanity beginner, I'm just a little confused as to which workflow to follow.
1. using the Iframe Pane plugin 2. 3.
Mar 1, 2023, 12:10 AM
The starters will all use some variation of what’s happening in the guide . You’ll want to use that to set up your own version.
Mar 1, 2023, 12:45 AM
Thank you. I guess I'm just confused because in the guide
user T
says that the starter blog template has this already set up for us, but the starter blog does not use the iframe pane plugin ( ) that Simeon uses in the guide. The starter blog has some great examples of how to preview document types outside of an iframe (Author, for instance), as well as the Open Graph image preview, but the starter blog implements its own iframe for the posts preview. Was the iframe pane plugin created after the blog starter template was made and it just didn't need to be updated to use this package?
Mar 1, 2023, 4:53 PM
Not trying to be difficult, but some added context for the different approaches would be helpful. Thank you!
Mar 1, 2023, 5:03 PM – build remarkable experiences at scale

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