Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [] Next.js preview mode #88

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mattvanvoorst-contentful
Copy link
Contributor

What will change?

Reworked Next their legacy preview mode into the newer draft mode

Unfortunately, Next their GetServerSideProps do not include the new draftMode prop yet, even though it is returned from the context. I've added an expect-error comment to indicate we expect it to break.

Reworked the preview mode to the new Draft Mode instead
@mattvanvoorst-contentful mattvanvoorst-contentful requested a review from a team as a code owner May 12, 2023 13:25
@vercel
Copy link

vercel bot commented May 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
template-ecommerce-webapp-nextjs ✅ Ready (Inspect) Visit Preview May 12, 2023 1:44pm

stephanLeece
stephanLeece previously approved these changes May 12, 2023
Copy link

@stephanLeece stephanLeece left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants