Skip to content

Stop using globalThis #2053

Closed
Closed
@iowxy

Description

@iowxy

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

  • React Redux: 8.1.1

What is the current behavior?

globalThis is not defined

foca-js/foca#40
NervJS/taro#14082

According the documentation, keyword globalThis is disabled on alipay mini-program and polyfill is helpless, could you please replace it?

What is the expected behavior?

Replace globalThis

Which browser and OS are affected by this issue?

Chinese alipay mini-program

Did this work in previous versions of React Redux?

  • Yes

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