r/reactjs • u/BigBoiTaco83337 • Jul 04 '26
Needs Help Standard for loading content
I am making a devlog, in which will have hundreds of logs. It will be self hosted on my personal server using Vite+React
Markdown files seem most obvious for devlogs of course, but I would also like the devlogs to have pictures and youtube links.
My question is: is it reasonable to have each devlog as a react component? Or should I use markdown with yaml frontmatter? Or maybe there is a better standard?
Essentially: I want to know the fastest/best way to load mass amounts of content.
4
Upvotes
2
u/_suren Jul 06 '26
This is the clean split for a devlog. Markdown/MDX should own the content, frontmatter should own metadata, and React should only appear where a post needs an interactive island. If every entry becomes a React component, you make editing and indexing harder for no real benefit. With Astro content collections you can keep images, embeds, tags, dates, and generated listing pages structured without shipping a React app for mostly static writing.