Simple static website for React developers. Enhancing simple React apps by pre-rendering capabilities and other cool things!
- React
- Support HTML pre-rendering for each defined routes.
- Critical CSS pre-rendering with @emotion/css.
- SPA navigation feel without full page reload with @loadable/components
- Build with Webpack.
- SEO Support
- Markdown Support (MDX)
Insights while developing isomorphic Static Site with React.
For using Node to pre-render React using renderToString
or other related render functions, CSS Modules need to be processed by webpack with server config using exportOnlyLocals
.
Work-around: Use @emotion
for CSS-in-JS solution to provide styling and critical pre-rendering css at initial page load.
Can be extended to packages.