Advantages of Frontity?

Until now I created mostly WP themes and plugins (mostly PHP, SCSS, HTML). I want to move forward, and learn React. I start a project now, where the CMS will be WordPress, but I want to try out headless. I’m a bit puzzled, why should I choose Frontity instead of Next.js? There is a few promising boilerplate on github: headless-wp-starter and headless-wp-starter for Next.js.
Can you pls help me to choose?
The project will be a News site, with daily 3-5 news.

1 Like

Hello @koli14,

Frontity and some WP Reacts Boilerplates like headless-wp-starter helps you build SSR applications (frontend) for WordPress, however,
some reasons why you should work with Frontity over Next.js includes:

  • It’s 100% focused on WP.
    This means the number of concepts to learn is minimal, it doesn’t need any complex configuration to get you started and the APIs that WordPress developers use to create themes are tailored for the things they usually need.

  • It’s rendered dynamically.
    You don’t have to rebuild the HTML each time they modify or publish something. Our preferred approach is SPR (…) although there are many ways to configure it. It’s as fast as a static site:

  • It’s opinionated.
    Frontity has its state manager and CSS solution. Thanks to that people don’t need to learn things like Redux and at the same time, it powers a very flexible extensibility pattern, more similar to the one of WordPress itself than to the rest of JS frameworks.

Source: Tweet by @luisherranz

Some other features of Frontity which are in other words, “Advantages of using Frontity over other alternatives” is available on the documentation.

We have also written comprehensive documentation on the relevant JavaScript and React concepts needed to work with Frontity.

We can’t wait to start seeing the awesome projects you will be building with Frontity.

Cheers! Happy Coding!