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: 6 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 6 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T01:53:51.000Z (about 3 years ago)
- Last Synced: 2025-04-09T18:09:17.628Z (10 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: 23
- Watchers: 3
- Forks: 6
- 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)
[](https://www.npmjs.com/package/react-wordpress-hooks)
[](https://www.npmjs.com/package/react-wordpress-hooks)
[](https://www.npmjs.com/package/react-wordpress-hooks)
[](https://travis-ci.org/cool-hooks/react-wordpress-hooks)
[](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