Frontity is a free and open source framework for creating WordPress themes based on React. In other words, it allows to build a React frontend for a headless WordPress site, which serves its data via the WordPress REST API.
Combining WordPress and React has plenty of advantages, but there are a lot of things that developers need to learn and configure. Unlike other React frameworks that can work with WordPress, Frontity is an opinionated framework 100% focused on this CMS, which makes everything much easier (even for those developers who are less familiar with React) and optimized to be used with WordPress.
It is really easy to start using Frontity, you just have to make sure you have Node.js installed and follow this quick start guide.⚡️
You need to know how to use WordPress for your content management and some React knowledge for designing your frontend. The rest is already wired up for you: React, webpack, Babel, SSR, Routing, CSS-in-JS, WP REST API, TypeScript, Linting, Testing… This way, you can focus on building your website. 🚀
There are many ways to contribute. You don't need to be a developer to support the project. If you want to help coding, please go to our GitHub repository. To see other ways to get involved, check out this guide.
Sure! Our framework has support for both WordPress.com and WordPress.org sites and it has been designed so it can support other sources like the GraphQL API for WordPress in the future. We are discussing this in the community forum. Feel free to join the conversation.