Atomic Core

Cache revalidation hooks and Next.js helpers for Atomic Payload projects

Community 37 40/wk MIT v0.5.0

Installation

pnpm add @pro-laico/core

About

Atomic Payload Core is the shared base that the other Atomic Payload packages build on. It adds revalidation hooks that clear the Next.js cache when a collection or global is saved or deleted, so visitors see updated content without a manual rebuild. It also provides a cached data wrapper, a Local API handle and draft preview route handlers for Next.js.

The package can generate JSON schema from a Payload config and ships shared admin field and label components. A plain Payload site can attach the revalidation hooks to collections from third-party plugins, such as form builder forms, and only needs this package when it wants those pieces.

Package info

Package name
@pro-laico/core
Latest version
0.5.0
Unpacked size
339 kB
License
MIT
Weekly downloads
40
Last publish
Jun 27, 2026

More from pro-laico

View profile

Type-safe seed data for Payload with typed document references and inline uploads

Next.js cache revalidation that clears only the tags a Payload change touches

Uploads videos from Payload straight to Mux with signed or public playback

On-demand image resizing, focal crops and placeholders for Payload uploads

Icon library for Payload: SVG upload collection with cleanup and an inline icon component

Manages custom font files in Payload and serves them as subsetted WOFF2

Similar plugins

More in Cache

Pushes content changes from Payload to open pages without a reload

Managed redirects with cache-backed Next.js middleware and an orderable admin list

Moves frontend translation keys into the Payload database for editors to manage

Revalidates Next.js paths and cache tags when documents are published or deleted

Background jobs for scheduled publishing, cache revalidation and approval expiry

Revalidates Next.js cache tags for documents and their related content on save