Taro: getDerivedStateFromProps这些新生命周期api目前有打算跟上吗

Created on 7 Jun 2018  ·  6Comments  ·  Source: NervJS/taro

激动人心的项目,react阵营终于有了自己的小程序框架,支持rn转换后比mpvue强多了,不过目前react项目都在逐步切换到新生命周期api,想了解下aotu的大大们怎么看

enhancement

Most helpful comment

有!有计划支持到 React 的新 API

All 6 comments

有!有计划支持到 React 的新 API

实际上支持这些新 API 对我们框架开发者是一种福利,研究 React 内部机制和生命周期以及他们背后的逻辑是一件非常有意思的事情。而且 React 16 的更新有一些生命周期和 API 的确能帮助开发者写出更健壮的代码。

所以你问我支持不支持,我说支持。

另外,是时候开发一套UI组件库了

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

这都快一年了,怎么还没有跟进?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zchary-Ma picture Zchary-Ma  ·  3Comments

waahai picture waahai  ·  3Comments

ruixiu picture ruixiu  ·  3Comments

qilovehua picture qilovehua  ·  3Comments

GreatAuk picture GreatAuk  ·  3Comments