Skip to content

Detected multiple renderers concurrently rendering the same context provider #952

@IamFive

Description

@IamFive

if call Dialog.alert in code out of Component, like in http request's callback, it will raise:

Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported..

Replacing Dialog.alert with Taro's Taro.showModal can fix the issue.

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