News for hackers. Stuff that matters.
Re:No CMS? Writing Our Blog in React by politelemon on Tuesday February 13, 2024 @01:19AM (#39355066)
> if you want to keep your existing footer, header, CSS

That's actually pretty simple, and is what CSS is meant to be helping with - there will be a pain of having to wrangle the framework's HTML to fit what you need, but it's doable, and a small price to pay for the benefits the tried-and-tested framework brings.

Re:No CMS? Writing Our Blog in React by dewey on Tuesday February 13, 2024 @01:28AM (#39355110)
Yes, but in reality it's not that easy if you want to have a shared footer / header / navbar component.

If you want to use for example Tailwind CSS classes in your blog you also need to integrate it with your build pipeline to add/remove unused classes from the final stylesheet.

Re:No CMS? Writing Our Blog in React by lelanthran on Tuesday February 13, 2024 @03:37AM (#39355751)
I have client side includes using a custom element, that I can add to any HTML page and get the shared footer, header, etc.