DPDK Architecture  ->  Library (v3.4.4)

Introduction

Hydrate for Prismic is a core functionality that is used for data management in all projects with the CMS.

The hydrate utility provides the following features out of the box:

  • Automatic page data (based on configuration)
  • Additional getInitialProps for sections
  • Global data based on locale
  • Glossary (default and override)
  • Error handling (404 and Graylog)
import hydrate from '@dpdk/library/utilities/prismic/hydrate';
Last modifiedMonday, August 30, 2021, 2:00:02 PM UTC
Last authorColin van Eenige
Commit IDfd08685