Configure Express / React / Babel to Work with React Universal Component
We’ll make the configuration changes needed in our express server, babel configuration, and react app code to get universal components working. We'll go from typical configurations to a "universal" configuration. We'll need our express app to use the webpack hot server middleware to serve our custom html. We'll use the
import function. And we can't forget to hydrate our React app on the client after we receive the serverside-rendered html.