react-wordpress-hooks

Set of hooks for WordPress REST API

Usage no npm install needed!

<script type="module">
  import reactWordpressHooks from 'https://cdn.skypack.dev/react-wordpress-hooks';
</script>

README

react-wordpress-hooks

NPM version NPM downloads NPM license Travis Bundle size

About

This library helps you use WordPress RESTful API in React app. It provides hooks for all API endpoints and Context to simply access data in every component.

Similar Projects

How to Install

First, install the library in your project by npm:

$ npm install react-wordpress-hooks

Or Yarn:

$ yarn add react-wordpress-hooks

Getting Started

Docs for context and all hooks are available here

License

This project is licensed under the MIT License © 2019-present Jakub Biesiada