Steps to reproduce the issue: 1. Oepn the URL [https://redux-toolkit.js.org/rtk-query/usage/examples#react-optimistic-updates](https://redux-toolkit.js.org/rtk-query/usage/examples#react-optimistic-updates) 2. Click to run the example and you will see the TypeError (0 , $csb__react_dom.render) is not a function  The way I found to solve the issue: Downgrade the `react` and `react-dom` packages to version 18.0.0. There might be a better way to solve this issue, but I'm just providing a solution.