Skip to content

ReactDOM.render is no longer supported in React 18. Use createRoot instead. #8

Description

@Flammae

Running yarn test on my forked version outputs the error:

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.

I could easily change test cases to work with react 18. I just need some clarifications to avoid overcomplicating the process.

I'm working on two small features which I'm planning to do pull requests on separately. Should I include this bug fix in one of the feature requests or should I make a separate bugfix/react-18-support branch?

Also, which should be more appropriate - raising the issue first, describing the reasoning to why I would like to add such a feature or making a pull request and describing the reasoning there? Furthermore, if you can tell me how I can improve the process compared to last merge request, I will try to take into account in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions