Hacker News new | ask | show | jobs
by isthispermanent 2656 days ago
My server-side React blog (https://philandrews.io) runs on Cosmic. And it's easy. Given that your blog posts reside at the end of a url, one GET request brings gets all the content you need to populate your index or post page. Pair your React with NextJS, fetch your post(s) in getInitialProps and you're good to go.

Here's an article I wrote about opening up a blog with Cosmic back in 2017. It still holds... https://hackernoon.com/language-agnostic-content-management-...