- Code Spliting (Async Routes)
- Prefetch data on server side
- HMR with ssr
in work...
- map files;
- more frendly errors when render app on server side;
- server config validation.
Wait for react-route update bug with ssr. issue. Or manualy fix react-route-dom/Link.
# install dependencies
yarn install
# build all
yarn build
# build for client
yarn build:client
# build for server
yarn build:server
# Run ssr server in production mode
yarn start
# Start app in dev mode without ssr
yarn dev:client
# Start app in dev mode with ssr
yarn dev:server