Skip to content
#

caas

Here are 42 public repositories matching this topic...

kontent-gatsby-packages
kontent-starter-corporate-next-js
Simply007
Simply007 commented Apr 19, 2021

Motivation

Currently, for the preview bar the preview value toggle is passed through the components.

Proposed solution

It is possible to use a new hook: https://nextjs.org/blog/next-10-1#detect-when-preview-mode-is-enabled.

  const { isPreview } = useRouter()
enhancement good first issue help wanted hacktoberfest

Improve this page

Add a description, image, and links to the caas topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the caas topic, visit your repo's landing page and select "manage topics."

Learn more