electrode-react-ssr-caching
electrode-react-ssr-caching copied to clipboard
Component names changes when using UglifyJS
When using UglifyJS (in Webpack), component names replaces with short values, and this package not working in this case.

I solved that problem with turned off mangle in UglifyJs in webpack (it is not a good solution)
new webpack.optimize.UglifyJsPlugin({ mangle: false, })
I think it will be nice to check also displayName (but also webpack can cut it) or simply add static field to component to turn on caching