Comment on page
API reference of Frontity and its packages.
Frontity projects are built around the idea of packages that encapsulate logic that can be reused across projects. Frontity packages may be considered as the equivalent of WordPress plugins. They're the ingredients of the final Frontity project.
Frontity needs to know the packages we're going to use in the project and how we want to use them. We can set this in the
frontity.settings.jsfile, where we can define and configure the packages (by using Namespaces) for the Frontity project.
We're going to focus on the use of Frontity packages at a Frontity project level, but the same applies if you're creating a custom Frontity package. You can see more info about how to create your custom package here.
These packages encapsulate the logic to apply the main features needed in a WordPress + React stack project managed by Frontity.
A Frontity project is basically the sum of the Core package plus a selection of Features packages. You can also use Collections packages to help speed up the development of your Frontity project.
This package is the core of the Frontity framework and provides the main utilities of the framework.
These packages contain the React project used to render the final output (both in client and server side).
This package is in charge of getting data from WordPress and make it accesible from React components.
This package is in charge of managing (React) routes in a Frontity project.
This package is in charge of converting HTML to React.
These packages are designed to get automatically all the data from WordPress SEO plugins and render it (along with the content) in the final HTML.
These packages allow you to insert ads in your Frontity projects from services such as Google Ad Manager.
A set of official Analytics Frontity packages that you can use to easily add analytics services to your project.
This package adds support for WordPress' native comments.
These packages are collections of useful components or hooks that you can use in your Frontity project.