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

createContext问题 #8510

Open
gary123123 opened this issue Jan 13, 2021 · 0 comments
Open

createContext问题 #8510

gary123123 opened this issue Jan 13, 2021 · 0 comments
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-2 Version - 2.x

Comments

@gary123123
Copy link

相关平台

支付宝小程序

复现仓库

https://github.com/Ner
小程序基础库: 1
使用框架: React

复现步骤

当组件使用taro.createContext时,页面存在多个组件时,会互相影响,感觉是全局只有一个context,

期望结果

正常

实际结果

不正常

环境信息

 ND Taro CLI 1 environment info:
    System:
      OS: macOS 10.15.5
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 14.5.0 - ~/.nvm/versions/node/v14.5.0/bin/node
      Yarn: 1.22.4 - ~/.nvm/versions/node/v14.5.0/bin/yarn
      npm: 6.14.5 - ~/.nvm/versions/node/v14.5.0/bin/npm
@taro-bot2 taro-bot2 bot added F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-2 Version - 2.x labels Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-2 Version - 2.x
Projects
None yet
Development

No branches or pull requests

1 participant