-
Notifications
You must be signed in to change notification settings - Fork 791
Closed
Description
Due to changes in react 16.9, the patch in the webpack plugin no longer works
Also, seems like they baked react-refresh code into react-dom, that is very similar to this code,
So maybe with some tweaks this patch won't be needed at all?
The change:
if (child.tag === Fragment ? element.type === REACT_FRAGMENT_TYPE : child.elementType === element.type)
if (child.tag === Fragment ? element.type === REACT_FRAGMENT_TYPE : child.elementType === element.type || (
// Keep this check inline so it only runs on the false path:
isCompatibleFamilyForHotReloading(child, element)))
Related: hot-loader/react-dom#14
Metadata
Metadata
Assignees
Labels
No labels