To some degree, I understand why this is the way that it is, but still,

this is an absolutely galaxy-brain way of turning markdown into a "static" HTML page.

hopefully I'm doing something wrong. **Surely** I must be doing something wrong here.

At this point, I feel like I'm literally better off re-inventing this from scratch. what the hell.

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.

Follow

@vy for 3 I think all you really need is standard react, using ReactDOMServer renderToString() and then hydrating that with React clientside (optionally)?

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.