ShiChenCong / react18-ssr-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ssr-demo

Branch main

  1. use Koa as static server
  2. Code Splitting by using @loadable/component
  3. React.renderToString
  4. isomorphic-style-loader/StyleContext handle Css

Branch suspense-lazy

  1. use Express as static server
  2. Code Splitting by using React.Suspense and React.Lazy
  3. React.renderToPipeablStream
  4. mini-css-extract-plugin for Extracting Css File

About


Languages

Language:JavaScript 99.2%Language:CSS 0.8%