Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    REAC import from 'react-dom'

    I noticed in the file isomorphic/react/core/SC.js the following imports:
    Code:
    import ReactDOM from 'react-dom';
    import RDClient from 'react-dom';
    Shouldn’t one of these imports be from 'react-dom/client'?
    Last edited by Hirn; 9 Sep 2025, 23:47.

    #2
    Sorry. I realized why in both cases it says from 'react-dom';.
    It’s most likely related to compatibility with React v17.

    Comment


      #3
      You are correct. We are looking into whether and when we can get rid of it, but for now, it's there for backcompat.

      Comment

      Working...
      X