Replies: 1 comment
-
It looks like that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have been updating all my Babel and Webpack dependencies to remove vulnerabilities. Currently, my package.json file looks like this and it installs all dependencies perfectly:
I am configuring through the webpack-config.js file, and it looks like this:
I am using Node version 20.11.0 and npm version 10.2.4. When I install all the dependencies through Maven, I don't get any errors. However, when I start my application through Spring Boot and deploy the frontend, I always receive this error on browser console:
Uncaught Error: You must pass a component to the function returned by connect. Instead received {"kind":"class","elements":[{"kind":"method","key":"render","placement":"prototype","descriptor":{"writable":true,"configurable":true,"enumerable":false}}]}
I assume it has something to do with the configuration of the decorators, which is causing this condition in the connectAdvanced.js file of react-redux, as I haven't made any changes to the code.
Beta Was this translation helpful? Give feedback.
All reactions