I've been looking for a monolithic CMS written in Node.js, but didn't find anything suitable.
Luckily, I've managed to integrate Express, React and PayloadCMS which supports connecting to a locally running instance of MongoDB - so I've got everything in one place :D
Cherry on top - I use Reacts JSX as a template engine, although I don't want/need interactivity in the browser. So I render components with React.createElement inside Express route handlers and can even stream HTML with res.send(renderToStaticNodeStream(template))
PS renderToStaricNodeStream is imported from "react-dom/server"
😍
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I've been looking for a monolithic CMS written in Node.js, but didn't find anything suitable.
Luckily, I've managed to integrate Express, React and PayloadCMS which supports connecting to a locally running instance of MongoDB - so I've got everything in one place :D
Cherry on top - I use Reacts JSX as a template engine, although I don't want/need interactivity in the browser. So I render components with
React.createElement
inside Express route handlers and can even stream HTML withres.send(renderToStaticNodeStream(template))
PS
renderToStaricNodeStream
is imported from "react-dom/server"😍