Requirement —
**ejs: **used for server side templating
**express: **our server
**react, react-dom: **for rendering react components
Dev Dependencies
Babel stuff: to transpile our JSX to javascript
loaders: loaders for webpack to resolve different module types.
@pmmmwh/react-refresh-webpack-plugin: webpack plugin to enable HMR for react components, without loosing state.
webpack stuff: to bundle our app and enable hot module replacement.
#development #server-side-rendering #webpack #react #hot-module-replacement