Skip to content

Support the new React 18 root API #1285

Open

Description

@LinusCenterstrom

React 18 has new APIs for rendering / hydrating. createRoot().render & hydrateRoot()
Would be nice to have (opt-in) support for outputting html that uses those instead of ReactDOM.render / ReactDOM.hydrate

Activity

  1. sebastian-pierre commented on Sep 14, 2022

    @sebastian-pierre

    This would be great as soon as possible, as more solutions move to React 18 and get stuck.

  2. DaniilSokolyuk commented on Feb 14, 2023

    @DaniilSokolyuk
    Contributor

    You can take a look at my NodeReact library, I've released a new version that supports React 18+ and all its features

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