cloakwp
TypeScript icon, indicating that this package has built-in type declarations

0.6.7 • Public • Published

cloakwp-js

A JavaScript/NPM package that connects your decoupled React frontend to one or more headless WordPress instances. It provides out-of-the-box solutions to all the things you would otherwise be giving up by choosing headless over the traditional approach, such as draft previews, the WP Admin bar (including user authentication), simple data fetching/mutation utilities, incremental static revalidation utilities (enabling content updates to take effect as quickly as server-side rendering, without actually rendering the page on every request), and so on (more details later). It works in tandem with the CloakWP Plugin, installed on your WP instance, to enable an out-of-the-box, harmonious integration.

Install

npm install cloakwp

Currently in beta. More details and documentation coming soon.

/cloakwp/

    Package Sidebar

    Install

    npm i cloakwp

    Weekly Downloads

    3

    Version

    0.6.7

    License

    LGPL-3.0-only

    Unpacked Size

    35.5 kB

    Total Files

    48

    Last publish

    Collaborators

    • kaelan