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

IE11 React 15.4 issue #82

Closed
DimitryDushkin opened this issue Nov 18, 2016 · 8 comments
Closed

IE11 React 15.4 issue #82

DimitryDushkin opened this issue Nov 18, 2016 · 8 comments

Comments

@DimitryDushkin
Copy link

DimitryDushkin commented Nov 18, 2016

On IE11 I got error:

 Objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props, _owner, _store}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of `RedBoxError`.

Wonder why it's problem only in IE...

@davidpfahler
Copy link
Member

Do you understand what that error is supposed to mean in context of Redbox?

@DimitryDushkin
Copy link
Author

DimitryDushkin commented Nov 18, 2016

Looks like for some reason https://github.com/commissure/redbox-react/blob/master/src/index.js#L72 returns object
I really do not understand why.

Possible problem is in react-hot-load.

@davidpfahler
Copy link
Member

Weird. IE11 is kind of hard for me to debug, but I am happy to review PRs.

@nickw444
Copy link

nickw444 commented Nov 20, 2016

Also having this same issue

Nevermind, I was running "react": "^15.0.2", updated to 15.4.0, and it's all good now.

And I just restarted webpack and i'm back in the same situation...

@gaearon
Copy link
Contributor

gaearon commented Nov 22, 2016

Appears related: facebook/react#8379.
Can you share a reproducing example?

@DimitryDushkin
Copy link
Author

It's not redbox related. Adding Symbol polyfill is the fix — https://github.com/thejameskyle/babel-react-optimize/issues/16#issuecomment-263519239

@davidpfahler
Copy link
Member

@DimitryDushkin Thanks!

@gaearon
Copy link
Contributor

gaearon commented Dec 5, 2016

As for IE11 problem, also see this: facebook/react#8379 (comment).

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

4 participants