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

Having issues in IE9/10 #33

Closed
bjarneo opened this issue Feb 25, 2016 · 4 comments
Closed

Having issues in IE9/10 #33

bjarneo opened this issue Feb 25, 2016 · 4 comments

Comments

@bjarneo
Copy link
Contributor

bjarneo commented Feb 25, 2016

The error is:
Unable to set property 'parentContext' of undefined or null.

Which breaks the execution.

I'm not entirely sure what's causing this, but I changed my code from createClass to extend component, removed mixin and created a higher-order component instead.

https://medium.com/@dan_abramov/mixins-are-dead-long-live-higher-order-components-94a0d2f9e750

@Lucifier129
Copy link
Owner

I guess babel broke them, see related infomation at https://phabricator.babeljs.io/T3041

@bjarneo
Copy link
Contributor Author

bjarneo commented Feb 25, 2016

That might be it. But then it should be broken in react also?

@Lucifier129
Copy link
Owner

react work well with ES2015 classes, even in IE9/10. They call super constructor and add static property/method manualy.

@bjarneo
Copy link
Contributor Author

bjarneo commented Feb 26, 2016

Ah, just read the whole thread you refered to. Think I'll fix it. Thanks for your feedback.

@bjarneo bjarneo closed this as completed Feb 26, 2016
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