We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
React Native
使用框架: React
1、添加 componentDidCatch; 2、render 中抛出异常;
渲染异常时可以触发 componentDidCatch 生命周期
不能触发
👽 Taro v3.2.0-beta.2 Taro CLI 3.2.0-beta.2 environment info: System: OS: macOS 11.2 Shell: 5.8 - /bin/zsh Binaries: Node: 16.5.0 - ~/.nvm/versions/node/v16.5.0/bin/node Yarn: 1.22.5 - ~/.yarn/bin/yarn npm: 7.19.1 - ~/.nvm/versions/node/v16.5.0/bin/npm npmPackages: @tarojs/cli: 3.3.0 => 3.3.0 @tarojs/components: 3.3.0 => 3.3.0 @tarojs/mini-runner: 3.3.0 => 3.3.0 @tarojs/react: 3.3.0 => 3.3.0 @tarojs/runtime: 3.3.0 => 3.3.0 @tarojs/taro: 3.3.0 => 3.3.0 @tarojs/webpack-runner: 3.3.0 => 3.3.0 babel-preset-taro: 3.3.0 => 3.3.0 eslint-config-taro: 3.3.0 => 3.3.0 react: ^17.0.0 => 17.0.2 react-native: ^0.64.0 => 0.64.2
The text was updated successfully, but these errors were encountered:
#8191
Sorry, something went wrong.
yechunxi
No branches or pull requests
相关平台
React Native
使用框架: React
复现步骤
1、添加 componentDidCatch;
2、render 中抛出异常;
期望结果
渲染异常时可以触发 componentDidCatch 生命周期
实际结果
不能触发
环境信息
The text was updated successfully, but these errors were encountered: