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.
First, install the library in your project by npm:
$ npm install react-wordpress-hooksOr Yarn:
$ yarn add react-wordpress-hooksDocs for context and all hooks are available here
This project is licensed under the MIT License © 2019-present Jakub Biesiada