Jari
Jari
WWasp-lang
Created by Jari on 9/12/2023 in #đŸ™‹questions
Problem with recharts
Thanks! I was missing the: dependencies: [ ("recharts", "^2.8.0") ] ho-hum...
6 replies
WWasp-lang
Created by Jari on 9/12/2023 in #đŸ™‹questions
Problem with recharts
On accessing the page, I get this warning: react.development.js:209 Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem. and this error: react.development.js:1622 Uncaught TypeError: Cannot read properties of null (reading 'useState') at useState5 (react.development.js:1622:21) at ResponsiveContainer.js:37:19 at renderWithHooks (react-dom.development.js:16305:18) at updateForwardRef (react-dom.development.js:19226:20) at beginWork (react-dom.development.js:21636:16) at HTMLUnknownElement.callCallback2 (react-dom.development.js:4164:14) at Object.invokeGuardedCallbackDev (react-dom.development.js:4213:16) at invokeGuardedCallback (react-dom.development.js:4277:31) at beginWork$1 (react-dom.development.js:27451:7) at performUnitOfWork (react-dom.development.js:26557:12) useState5 @ react.development.js:1622 (anonymous) @ ResponsiveContainer.js:37 Show 41 more frames Any help? :=(
6 replies