When server rendering React keep track of includes

When using multiple files to server render React make sure to not include a library multiple times. It’s easy to get the wrong state.

If you for example include Helmet in your Component code and then in a server rendering file it’ll keep different state and your head:er data will be lost.

This is easily solved using the following in your webpack config.

externals: {
  'react-helmet': 'react-helmet'