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

IE10 - Unable to get property 'store' of undefined or null reference #62

Open
badtant opened this issue Mar 9, 2016 · 8 comments
Open

Comments

@badtant
Copy link

badtant commented Mar 9, 2016

Hi,

I have some problems with IE10.
return this.context.store... gets Unable to get property 'store' of undefined or null reference.

_createClass(ReduxAsyncConnect, [{
        key: 'isLoaded',
        value: function isLoaded() {
          return this.context.store.getState().reduxAsyncConnect.loaded;
        }
}]);

I'm using babel 6 with the config below aswell as babel-polyfill for promises.

{
    'presets': [
        'react',
        'es2015'
    ],
    'plugins': [
        'transform-object-rest-spread',
        'transform-decorators-legacy'
    ]
}

Any idea of what might be wrong?

@badtant
Copy link
Author

badtant commented Mar 11, 2016

@hanzhao
Copy link

hanzhao commented Mar 15, 2016

I have these problems too

@badtant
Copy link
Author

badtant commented Mar 15, 2016

@magicae I made a pull request to fix this. Hope it will get merged...
#64

@badtant
Copy link
Author

badtant commented Mar 16, 2016

@sars any thoughts on this pull request?

@Astra-RX
Copy link

Problem solved using @badtant 's suggestion.

@gerinjacob
Copy link

I am facing the same issue, when can we expect the fix?

@AVVS
Copy link

AVVS commented May 6, 2016

try using https://github.com/makeomatic/redux-connect - I've refactored this module (v1 branch), as well as updated API a bit. Constraints are loosened to allow react 15.x.x as well.

npm i redux-connect -S

@machao23
Copy link

@AVVS it's amazing, what you did?

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

6 participants