Skip to content

Getting Preview to work without Next.js opting-out to SSR #14903

Closed Answered by brandonkelly
riccardolardi asked this question in Q&A
Discussion options

You must be logged in to vote

Each token is unique to the draft being previewed. At any given time there could be multiple drafts of each entry, with one or more people accessing each draft. How would Craft know which draft(s) to load in place of the live entries, if all it has to go on is a single shared secret between itself and the Next.js app?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants