DEV Community

Discussion on: Finding joy in WordPress again, with React, Gatsby & GraphQL

Collapse
 
deckchairlabs profile image
James Edmonds

I've been interested in this approach for a while, even though I despise WordPress. Would really like to work out a way of getting WordPress to be 'serverless' within this stack. That way, the WordPress backend would only be created and running when you need to edit something.

Collapse
 
iaremarkus profile image
Markus

You can kinda do that already.

Because gatsby-source-wordpress handles the finding & replacing of URL's when fetching the content, your WP site can live anywhere - even on your localhost.

The caveat here, is that your gatsby build would need to be done locally then too, as online, it wouldn't be able to find 'localhost' as its source.