Today I learned
Today I learned about headless wordpress. Wordpress now offers a REST API which makes it possible to decouple the frontend completely from the wordpress backend.
For example: This makes it possible for me to use GatsbyJS for the frontend and consume the content from wordpress through the API. Gatsby offers a plugin to do all the heavy lifting for me and enables the bridge between wordpress and Gatsby: gatsby-source-wordpress
Of course this brings some pros and cons with it. I researched a bit and collected a few articles which go into detail about using wordpress as a headless CMS.
From the gatsby documentation: What is Headless WordPress?
From Chris Coyier on css-tricks.com: Just How Niche is Headless WordPress?
Greetings MarcoGo back to other today-i-learned posts