Closed PirateNick closed 5 years ago
This looks like a support question. We would need to see more of your code. Otherwise it’s just guesswork especially on bundled code.
I added all the code. Is there anything more you require?
You should strip this down to a minimal example with only material-ui and react dependencies. ComponenWillUnmount and react-hot-loader lead me to suspect that this is not an issue with our components. Could you post the exact versions you're using
After losing all hope and a stressful 2 days of googling, I fixed my problem.
I set up my project using asp .net core 2 is Visual Studio. Visual Studio generates your output scripts into wwwroot/dist folder. I simply had to delete that folder and rebuild my project.
The error above was a cached problem of incompatible Node Package Modules (NPM) and Visual Studio did not completely overwrite my dist folder. Why? No idea.
Glad to hear you fixed it.
My dependencies:
error:
Client code:
I've copied the react and material UI versions from my package file of a previous project, where I'm sure everything works fine. Any idea's?