I am developing an external component (let\'s say my-component, which I link to the project with npm link (as it is in process and I need the packa
my-component
npm link
Fixed it by adding react-dom as an alias to my webpack config
react-dom
alias: { react$: require.resolve(path.join(constants.NODE_MODULES_DIR, 'react')), 'react-dom': require.resolve(path.join(constants.NODE_MODULES_DIR, 'react-dom')) }