Closed slvnperron closed 7 years ago
botpress/botpress#78 I have made a pull request for my commit to this issue. I have added the 'externals' configuration option to exclude react and reactDOM.
Fixed in botpress/botpress#78 . thanks again Joe :1st_place_medal: :)
In the default
webpack.js
file, exclude React (and ReactDOM) from the bundle. The reason is because if we don't there's two different versions of React running concurrently, causing issues with ReactDOM