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.Component #10013

Closed
ElegantBrick opened this issue Aug 10, 2021 · 1 comment
Closed

希望实现继承Taro.Component #10013

ElegantBrick opened this issue Aug 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ElegantBrick
Copy link

这个特性解决了什么问题?

可在类组件中正常调用componentDidHide生命周期

这个 API 长什么样?

class Index extends Taro.Component{}

@taro-bot2 taro-bot2 bot added the enhancement New feature or request label Aug 10, 2021
@Chen-jj
Copy link
Contributor

Chen-jj commented Aug 11, 2021

类组件可以正常使用 componentDidHide 吧,Taro3 之后是要继承 React.Component,没懂原题什么意思

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants