RsrgChData premium asked 1 week ago


Expected behavior Incorporate successfully MDBTimepicker

Actual behavior TypeError: Object(...) is not a function renderWithHooks ...../node_modules/react-dom/cjs/react-dom.development.js:14985 14982 | } 14983 | } 14984 |

14985 | var children = Component(props, secondArg); // Check if there was a render phase update | ^ 14986 | 14987 | if (didScheduleRenderPhaseUpdateDuringThisPass) { 14988 | // Keep rendering in a loop for as long as render phase updates continue to

Resources (screenshots, code snippets etc.)

"react": "^17.0.2", "react-dom": "^17.0.2",
"react-redux": "7.2.2", "react-router": "^5.1.2", "react-router-dom": "^5.2.0", "react-scripts": "^4.0.3", "react-toastify": "^7.0.3",


Grzegorz Bujański staff answered 1 week ago


Since version 4.0.0 our package uses React 18. Please update React version in your project and try again



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 5.1.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No