News for hackers. Stuff that matters.
Re:No CMS? Writing Our Blog in React by maelito on Tuesday February 13, 2024 @02:20AM (#39355385)
> If your content is mostly static, just use markup and sprinkle a bit of js on top of you must. Your visitors will be grateful. If you're building a web based application, which you're probably not, use React.

This is solved by React server rendering or RSC, e.g. through Next.

Your visitors will see HTML.

Re:No CMS? Writing Our Blog in React by bilekas on Tuesday February 13, 2024 @02:28AM (#39355424)
> This is solved by React server rendering or RSC, e.g. through Next.

You realise that's just HTML with more steps?

Re:No CMS? Writing Our Blog in React by arvinsim on Tuesday February 13, 2024 @04:12AM (#39355925)
HTML doesn't solve routes as well as markup reuse. If you want to copypaste markup into it's own HTML and edit the contents, then you do you.
Re:No CMS? Writing Our Blog in React by reactordev on Tuesday February 13, 2024 @04:20AM (#39355973)
<template> is completely reusable…