Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object.getPrototypeOf called on non-object #82

Open
Junting-Liu opened this issue May 14, 2019 · 1 comment
Open

Object.getPrototypeOf called on non-object #82

Junting-Liu opened this issue May 14, 2019 · 1 comment

Comments

@Junting-Liu
Copy link

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?

@mridgway
Copy link
Owner

This sounds like an invalid component type is being passed to hoistNonReactStatics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants