Skip to content

React Optimistic Updates example got TypeError (0 , $csb__react_dom.render) is not a function #4895

@a90100

Description

@a90100

Steps to reproduce the issue:

  1. Oepn the URL 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

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Example-AppsIssues related to example apps.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions