Skip to content

The Five

Compare
Choose a tag to compare
@antonybudianto antonybudianto released this 01 May 16:29
· 4 commits to master since this release

cra-universal@5

  • Supports latest react-scripts@5
  • React 18 with Suspense SSR support (using renderToPipeableStream by default)
    • User can still use string renderer (renderToString) by passing:
      import stringRenderer from '@cra-express/universal-loader/lib/renderer/string-renderer';
      ...
      createReactAppExpress({
        handleRender: stringRenderer,
      })
  • React Babel Automatic Runtime
  • Webpack 5 + Babel 7
  • Migrate lerna to pnpm
  • Updated SVG support
  • Updated docs for hydrateRoot changes
  • General dependency upgrade
  • New demo at Codesandbox

Breaking changes

  • express@4 is now a peerDependency, please install it as dependencies on your app
  • By default, the SSR renderer will be node stream instead of string, which will support full Suspense features