Skip to content

Commit

Permalink
Move ReactDOMFloat to react-dom/src/
Browse files Browse the repository at this point in the history
This is not really part of the bindings, it's more part of the package
entry points. /shared/ is not really right neither because it's more
like an isomorphic entry point and not some utility.
  • Loading branch information
sebmarkbage committed Mar 30, 2023
1 parent 85de6fd commit 550b14a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/react-dom/src/client/ReactDOM.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export {
preconnect,
preload,
preinit,
} from 'react-dom-bindings/src/shared/ReactDOMFloat';
} from '../ReactDOMFloat';

if (__DEV__) {
if (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export {
preload,
preconnect,
prefetchDNS,
} from 'react-dom-bindings/src/shared/ReactDOMFloat';
} from '../ReactDOMFloat';

export function createPortal() {
throw new Error(
Expand Down

0 comments on commit 550b14a

Please sign in to comment.