I’ve been learning about headless WP and React using a variety of resources including the free Scrimba React course.
Today I got my complimentary account set up at WP Engine and set up an Atlas site.
I’d read about the idea of keeping your own, internal engineering journal, and so my aim is that I’ll post about learning and work here.
Atlas setup initially went smoothly. I had to give Atlas broad-ranging permissions to GitHub which I didn’t really like. I wanted to create a repository and give it just access to that. But it’s OK. I trust Atlas and WPE.
Once set up I had a repo to explore (this may be private, so you may not be able to see it, but it’s based on the regular blueprint – I can’t find a link to this, but the Atlas Docs have some info on it)
The repo seems to contain a lot of boilerplate. This is something I’ve seen in Next/React projects. Little files with just a few lines that don’t seem to do anything other than reference other things. This all seems a bit odd to me. But I’m sure I’ll get used to it.
I also went into WordPress and deleted all of the posts to have a clean slate for this blog, but the front-end still shows all the posts. I thought it would rebuild automatically?
Need to look at the docs.
Links to follow up on:
- https://developers.wpengine.com/docs/atlas/overview
- https://developers.wpengine.com/blog/what-is-faust-js-the-headless-wordpress-framework