Replies: 3 comments 2 replies
-
I would like to know too. Incidentally, the new format didn't work for me:
But I get the error Not clear if it only works on a specific version of Next.JS |
Beta Was this translation helpful? Give feedback.
-
Also interested in this. It also seems to have a big shortcoming because our CMS provides a "preview token" for each revision of the article which it provides as a URL param. Previously we used |
Beta Was this translation helpful? Give feedback.
-
We updated to Next 13 and it looks like DraftMode doesn't allow passing any custom data to the page route component. We rely on this feature, as it allows us to preview dynamic routes by pulling page data from Conentful by entry ID in selected environments. Our app is used to build several sites. Passing custom data to page routes let's us a single app to render previews of pages for various sites. How can I make Draft Mode work with dynamic routes and pass request data to my dynamic page routes? |
Beta Was this translation helpful? Give feedback.
-
Summary
Preview mode has been deprecated. Draft mode replaces it. Except I can't seem to find any documentation explaining why the API needed to change, or indeed what changes are being made. Can anyone say what the differences are, what the upgrade path is, and why?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions