Skip to content

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

Open
@badtant

Description

@badtant

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions