-
Notifications
You must be signed in to change notification settings - Fork 792
Closed
Labels
Milestone
Description
It seems like with react-hot-loader@3 it's not possible to check element type for imported components:
const element = <ImportedComponent />
console.log(element.type === ImportedComponent)
Logs false
for me.
Is this a bug or something that should not be supported?
dizel3d, pokusew, HHogg, elado, bathos and 29 more