Company
Date Published
Author
Min Kim
Word count
521
Language
English
Hacker News points
None

Summary

The latest integration with Contentful in Netlify Labs simplifies the workflow for users by removing unnecessary steps and enabling easy setup. When connecting a Contentful space to a Netlify site, authentication is supported, and automatic redeployment occurs upon changes. Publishing content in Contentful no longer requires manual webhooks to trigger a build on the Netlify site. Instead, the Netlify sidebar app can be installed in the Contentful UI to deploy the site from within the Contentful interface. The new preview functionality allows users to visualize updates without affecting the production environment, improving the content editing experience. To configure previews, users select Integrations > CMS > Contentful > View and enter a prefix for their frontend build system or framework. This prefix is used in code snippets to conditionally render either the preview or production version of the site.