Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Wp Calypso | 12,235 | 168 | 46 | 13 hours ago | 28 | August 24, 2022 | 5,127 | gpl-2.0 | JavaScript | |
The JavaScript and API powered WordPress.com | ||||||||||
Woocommerce | 8,561 | 13 | 14 | 13 hours ago | 460 | October 12, 2021 | 2,204 | other | PHP | |
A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine. | ||||||||||
Headless Wp Starter | 4,338 | 2 months ago | 52 | gpl-2.0 | JavaScript | |||||
🔪 WordPress + React Starter Kit: Spin up a WordPress-powered React app in one step | ||||||||||
Frontity | 2,842 | 6 | 67 | a month ago | 60 | July 19, 2022 | 66 | apache-2.0 | TypeScript | |
» Frontity - The React Framework for WordPress | ||||||||||
Wordexpress | 1,585 | 5 years ago | 8 | mit | JavaScript | |||||
WordPress using Node, React, GraphQL, and Apollo | ||||||||||
Jetpack | 1,484 | 20 hours ago | 18 | July 12, 2022 | 2,572 | other | PHP | |||
Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic. | ||||||||||
Faustjs | 1,153 | 2 | 3 days ago | 22 | July 12, 2022 | 14 | other | TypeScript | ||
Faust.js™ - The Headless WordPress Framework | ||||||||||
Nextjs Wordpress Starter | 647 | 3 months ago | 12 | September 08, 2021 | 62 | gpl-2.0 | JavaScript | |||
A headless starter for WordPress powered by Next.js. | ||||||||||
Gatsby Woocommerce Themes | 558 | 5 months ago | 7 | December 29, 2020 | 55 | mit | JavaScript | |||
⚡ A Gatsby Theme for WooCommerce E-commerce site Gatsby WooCommerce WordPress | ||||||||||
Nextjs Headless Wordpress | 534 | 13 days ago | 1 | October 06, 2020 | 23 | gpl-3.0 | JavaScript | |||
🔥 Nextjs Headless WordPress |
ElasticPress React is a library of React components to supercharge your headless WordPress website with ElasticPress.
To install ElasticPress React, simply install via npm:
npm install @10up/elasticpress-react --save
You will need an Elasticsearch instance and a WordPress website running ElasticPress.
You must wrap your application with ElasticPressProvider
in order to use the ElasticPress components.
<ElasticPressProvider
node="http://elasticpress.test/__elasticsearch"
indexName="elasticpresstest-post-1"
>
{/* ElasticPress Components */}
</ElasticPressProvider>
This component outputs a search field that when typed in will autosuggest results to the user.
import { AutosuggestField } from '@10up/elasticpress-react';
const MyComponent = () => (
<>
<p>Here is my fancy new component.</p>
<p>Here's a search input with autosuggest:</p>
<ElasticPressProvider
node="http://elasticpress.test/__elasticsearch"
indexName="elasticpresstest-post-1"
loadInitialData={false}
>
<AutosuggestField />
</ElasticPressProvider>
</>
);
This component outputs content related to a post.
import { RelatedContent } from '@10up/elasticpress-react';
const MyComponent = () => (
<>
<p>Here is my fancy new component.</p>
<p>Here is some related content to post 5:</p>
<RelatedContent
wpApiRoot="https://mysite.com/wp-json"
postId="5"
/>
</>
);
import { PostContextProvider, SearchField, Posts } from '@10up/elasticpress-react';
const MyComponent = () => {
// Make sure to wrap your components with the provider.
return (
<ElasticPressProvider
node="http://elasticpress.test/__elasticsearch"
indexName="elasticpresstest-post-1"
>
<div>
<SearchField />
</div>
<div>
<Posts />
</div>
</ElasticPressProvider>
);
};
Active: 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.
A complete listing of all notable changes to ElasticPress React components are documented in CHANGELOG.md.
Please read CODE_OF_CONDUCT.md for details on our code of conduct, CONTRIBUTING.md for details on the process for submitting pull requests to us, and CREDITS.md for a listing of maintainers of, contributors to, and libraries used by ElasticPress React components.