Open Junting-Liu opened 5 years ago
If i use hoist-non-react-statics In some low version browsers,like oppo r9m android5.1 ,there will be an error in console。 The error information is “Object.getPrototypeOf called on non-object” 。 And there is the reason。
Is it better to add some fault-tolerant logic?
This sounds like an invalid component type is being passed to hoistNonReactStatics.
hoistNonReactStatics
If i use hoist-non-react-statics In some low version browsers,like oppo r9m android5.1 ,there will be an error in console。 The error information is “Object.getPrototypeOf called on non-object” 。 And there is the reason。
Is it better to add some fault-tolerant logic?