nickjj / demo-for-chattanooga-python-user-group

A demo app for a talk I gave at the Chattanooga python user group.
10 stars 3 forks source link

Doesn't work due to react update etc. #4

Open IvanZhd opened 5 years ago

IvanZhd commented 5 years ago

Hi Nick,

thanks for the great topics regarding Webpack + Flask + React. Unfortunately, as always with open source software, there is no back compatibility with new module updates. Due to React and Webpack updates the example doesn't work out of the box.

Error 1 (webpackffails): Module not found: Error: Cannot resolve module 'react/lib/ReactMount' @ ./assets/scripts/App.jsx 1:349-380

Error 2 (webpack fails): ERROR in chunk app_css [entry] [name].[chunkhash].js Cannot use [chunkhash] for chunk in '[name].[chunkhash].js' (use [hash] instead)

Error 3 (in the console if you would solve issue 1&2): _react2.default.render is not a function

Here is my knowledge of React was over.

Would it be feasible to fix the example? Thanks.