Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cool-hooks/react-wordpress-hooks
📄 Set of hooks for WordPress REST API
https://github.com/cool-hooks/react-wordpress-hooks
api hooks library react rest wordpress
Last synced: about 2 months ago
JSON representation
📄 Set of hooks for WordPress REST API
- Host: GitHub
- URL: https://github.com/cool-hooks/react-wordpress-hooks
- Owner: cool-hooks
- License: mit
- Created: 2019-05-06T20:26:02.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T01:53:51.000Z (about 2 years ago)
- Last Synced: 2024-11-16T01:42:08.059Z (2 months ago)
- Topics: api, hooks, library, react, rest, wordpress
- Language: TypeScript
- Homepage: https://cool-hooks.github.io/react-wordpress-hooks/
- Size: 3.76 MB
- Stars: 22
- Watchers: 4
- Forks: 7
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# [react-wordpress-hooks](https://github.com/cool-hooks/react-wordpress-hooks)
[![NPM version](https://img.shields.io/npm/v/react-wordpress-hooks?style=flat-square)](https://www.npmjs.com/package/react-wordpress-hooks)
[![NPM downloads](https://img.shields.io/npm/dm/react-wordpress-hooks?style=flat-square)](https://www.npmjs.com/package/react-wordpress-hooks)
[![NPM license](https://img.shields.io/npm/l/react-wordpress-hooks?style=flat-square)](https://www.npmjs.com/package/react-wordpress-hooks)
[![Travis](https://img.shields.io/travis/cool-hooks/react-wordpress-hooks/master?style=flat-square)](https://travis-ci.org/cool-hooks/react-wordpress-hooks)
[![Bundle size](https://img.shields.io/bundlephobia/min/react-wordpress-hooks?style=flat-square)](https://bundlephobia.com/result?p=react-wordpress-hooks)## 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
- [Gutenberg Packages](https://github.com/WordPress/gutenberg/tree/master/packages/)
## How to Install
First, install the library in your project by npm:
```sh
$ npm install react-wordpress-hooks
```Or Yarn:
```sh
$ yarn add react-wordpress-hooks
```## Getting Started
[Docs for context and all hooks are available here](https://cool-hooks.github.io/react-wordpress-hooks/)
## License
This project is licensed under the MIT License © 2019-present Jakub Biesiada