-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
The library was working perfectly but after upgrading from React 18 to 19, I get the error:
Error: A React Element from an older version of React was rendered. This is not supported. It can happen if:
• Multiple copies of the "react" package is used.
• A library pre-bundled an old copy of "react" or "react/jsx-runtime".
• A compiler tries to "inline" JSX instead of using the runtime. at throwOnInvalidObjectType (react-dom-client.development.js:4442:15) at reconcileChildFibersImpl (react-dom-client.development.js:5376:11) at react-dom-client.development.js:5415:33 at reconcileChildren (react-dom-client.development.js:7738:13) at updateClassComponent (react-dom-client.development.js:8603:13) at beginWork (react-dom-client.development.js:9697:13) at runWithFiberInDEV (react-dom-client.development.js:543:16) at performUnitOfWork (react-dom-client.development.js:15044:22) at workLoopSync (react-dom-client.development.js:14870:41) at renderRootSync (react-dom-client.development.js:14850:11)
The above error occurred in the <Ao> component.
React will try to recreate this component tree from scratch using the error boundary you provided, RenderErrorBoundary. Error Component Stack at Ao (customScroll.tsx:141:5) at Scroll (index.tsx:15:19) at IndexPage (index.tsx:13:1)
Metadata
Metadata
Assignees
Labels
No labels