Skip to content

Support React 18 createRoot in index.js #839

Description

@sammyjava

I find that I have to stick with the React 17 method of rendering the RootContainer for my tools to work in BG. Since Progress is Good, I'd like to be able to use the React 18 createRoot method as suggested by the warning:

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

FWIW the demo works fine with createRoot, but integration into BG fails with an "Object() ... is not a function" error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions