Install the NPM Dependencies Needed for a Universal React App

We’ll npm install the packages needed to get universal components working. I'll introduce the family of packages that make this possible:

  • react-universal-component
  • webpack-flush-chunks
  • babel-plugin-universal-import
  • extract-css-chunks-webpack-plugin
  • webpack-hot-server-middleware (only necessary for dev)

You must be a Member to view code