redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

React Compatibility Issue in Official RTK Query Pagination Example - Toast Rendering Error

Open 100pearlcent opened this issue 7 months ago • 0 comments

The official RTK Query pagination example hosted on CodeSandbox throws the following runtime error:

TypeError: (0 , $csb__react_dom.render) is not a function

Stack Trace Snippet:

TypeError: (0 , $csb__react_dom.render) is not a function
    at new Toaster (chakra-ui/toast/dist/esm/toast.class.js:76:32)
    ...

I assume this issue appears to be related to the usage of ReactDOM.render, which has been deprecated in React 18+ in favor of ReactDOM.createRoot.

100pearlcent avatar Apr 25 '25 07:04 100pearlcent