An open API service indexing awesome lists of open source software.

https://github.com/humanmade/react-wp-ssr

Server-side rendering for React-based WordPress plugins and themes.
https://github.com/humanmade/react-wp-ssr

Last synced: about 1 year ago
JSON representation

Server-side rendering for React-based WordPress plugins and themes.

Awesome Lists containing this project

README

          



react-wp-ssr

Server-side rendering for React-based WordPress plugins and themes.







A Human Made project. Maintained by @rmccue.

react-wp-ssr provides easy server-side rendering for React-based WordPress plugins and themes, using [v8js](https://github.com/phpv8/v8js).

This repository is a hybrid PHP/JS repository, and both pieces are required in your project.

## Requirements

* PHP 7.0+
* [v8js Extension for PHP](https://github.com/phpv8/v8js)

react-wp-ssr works best when used with [react-wp-scripts](https://github.com/humanmade/react-wp-scripts/) to handle the various build processes.

For local development, we recommend the [v8js extension for Chassis](https://github.com/Chassis/v8js).

## Documentation

* [Quick Start](docs/quick-start.md)
* [JavaScript API](docs/api-js.md)
* [PHP API](docs/api-php.md)
* [Limitations](docs/limitations.md)

## Credits

Created by Human Made for complex React-powered sites. We power our [Engineering Handbook](https://engineering.hmn.md/) with react-wp-ssr.

Written and maintained by Ryan McCue. Licensed under the [ISC license](LICENSE). Thanks to all our contributors.

Interested in working on projects using react-wp-ssr? [We're hiring!](https://humanmade.com/hiring/)