react-toolbox icon indicating copy to clipboard operation
react-toolbox copied to clipboard

Portal cause context broken in React 16

Open januszhou opened this issue 6 years ago • 0 comments

The current Portal created by ReactDOM.unstable_renderSubtreeIntoContainer isn't support new context API, it should start using ReactDOM.createPortal instead. I'm willing to open a PR if needed

reference: https://github.com/facebook/react/issues/12493

januszhou avatar Jun 13 '19 18:06 januszhou