Skip to content

Latest commit

 

History

History
102 lines (81 loc) · 6.99 KB

alternatives.md

File metadata and controls

102 lines (81 loc) · 6.99 KB

Alternatives

Prerendering, snapshotting

react-snap prerender-spa-plugin react-snapshot prep snapshotify
State supported supported unsupported unsupported experimental
DOM implementation puppeteer phantomjs-prebuilt jsdom nightmare puppeteer
Doesn't depend on Webpack + - + + +
Doesn't depend on React + + - + +
Load performance optimisation + - - - +
Zero-configuration + - + - +
Redux + - + - -
Async components + - - - +
Webpack code splitting + + - - +
CSSStyleSheet.insertRule + - - - +
blob urls + ? - - -
All browser features + - - ? +
  • Load performance optimisation - something beyond rendering HTML, like critical CSS
  • Zero-configuration - provides sensible defaults
  • Redux - can save state at the end of rendering
  • async components - can save state of async components to prevent flash on the client side
  • insertRule - Works with CSS-in-JS solutions which use CSSStyleSheet.insertRule
  • blob urls - removes blob urls from generated HTML

Less popular options

SEO-only server prerenderers

Other

Software as a service

React static site generators

SSR

WebComponents

Headless browsers