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

使用 taro 3.5 开发百度只能小程序,出现‘计时器组件’更新自身数据时,导致这个页面重新渲染问题;计时器每秒执行一次,页面就会自动创建一个 页面根元素,及其所有子元素; #7609

Closed
hongxinfeiyang opened this issue Sep 14, 2020 · 2 comments
Labels
duplicate This issue or pull request already exists F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x

Comments

@hongxinfeiyang
Copy link

相关平台

百度小程序

小程序基础库: 3.190.225-rc
使用框架: React

复现步骤

在页面中使用 计时器组件,即可重现

期望结果

计时器读秒时,不重新渲染页面

实际结果

计时器读秒时,重新渲染了页面

环境信息

Taro CLI 3.0.5 environment info:
    System:
      OS: macOS High Sierra 10.13.4
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.14.2 - /usr/local/bin/node
      Yarn: 1.22.5 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.0.5 => 3.0.5
      @tarojs/mini-runner: 3.0.5 => 3.0.5
      @tarojs/react: 3.0.5 => 3.0.5
      @tarojs/runtime: 3.0.5 => 3.0.5
      @tarojs/taro: 3.0.5 => 3.0.5
      @tarojs/webpack-runner: 3.0.5 => 3.0.5
      babel-preset-taro: 3.0.5 => 3.0.5
      eslint-config-taro: 3.0.5 => 3.0.5
      react: ^16.10.0 => 16.13.1
@taro-bot2 taro-bot2 bot added F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x labels Sep 14, 2020
@Chen-jj Chen-jj added the duplicate This issue or pull request already exists label Sep 15, 2020
@Chen-jj
Copy link
Contributor

Chen-jj commented Sep 15, 2020

百度小程序先用 Taro 1 或 2 开发吧。

duplicated #7293

@Chen-jj Chen-jj closed this as completed Sep 15, 2020
@footya
Copy link

footya commented Sep 15, 2020

同样遇到了重复创建根节点的问题,有修复计划吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

3 participants