Implementing Preview as a Single Component with React.JS/Typescript

Hey All,

I am looking for a way to implement a single Preview component for all components in a React application. I followed the steps on here for prismic-javascript : https://prismic.io/docs/reactjs/beyond-the-api/in-website-preview but believe I might not be using the link resolver correctly with this. Any advice ?

Thanks in advance!

Hi @web, sorry that you’re having trouble with the previews. Can you show us what you have so far? We’d be happy to take a look to see if everything looks good.