Headless WordPress

Headless WordPress with Nextjs

A couple of days ago, I tried using Nextjs to re-design a frontend for my blog. I have to say I am quite satisfied with the results.
Nextjs fetches data from WordPress and stores it statically so the load speed is amazingly fast. I could also re-fetch data on a Node server with the “revalidate” option. This is a great way to update the front end when a new post is published and can work very efficiently.

As for now, The downside of using this approach is that I lost WordPress commenting system and I need to find a way to add commenting functionality to my blog. Most websites are publishing posts for SEO purposes so they don’t use comments but others may want to engage more with the reader and allow them to post comments. So this is an important feature that I need to explore.

You can check the front end at this URL: HTTP://app.behnoud.net

I will update this post with more details in the future.

Leave a Reply

Your email address will not be published.