diff --git a/src/reconciler/fiberUpdater.js b/src/reconciler/fiberUpdater.js index f77033b2a..1cb42353b 100644 --- a/src/reconciler/fiberUpdater.js +++ b/src/reconciler/fiberUpdater.js @@ -18,6 +18,15 @@ export const updateLazy = (target, type) => { const C = resolveType(m.default) // chunks has been updated - new hot loader process is taking a place enterHotUpdate() + if (!React.forwardRef) { + return { + default: props => ( + + + + ), + } + } return { default: React.forwardRef((props, ref) => (