react-static claims to do three things as I see it:
1. multiple entrypoints into a runtime SPA with progressive fake-links
2. useful defaults for multi-page react development
3. pre-rendering the initial state of every page for fast load and “““SEO”””
afaict, it does the first two.
and really, what I want is number 3.
@vy yeah that makes sense, also, I really like using MDXjs for markdown, because it allows for seamless mixing with React components
🔖’d
@f0x yeah the main difficulty is in orchestrating a multi-page build with proper component splitting
last night I threw together nodejs code for finding markdown files and feeding them into react-static in about an hour, and given how easy that was I might just carry on with that and ditch everything else.
if every page/template’s entrypoint component is tagged with an attribute declaring whether it’s dynamic, it *should* be easy enough to decide whether to drop script tags in the page