Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
如题,小程序中useMemo和useCallback似乎是只能返回普通类型的变量?
在 taro 中你无法把jsx当做变量一样操作
原来是这样, 后续版本会支持这个功能吗? 因为useMemo拿来缓存渲染结果才是最大的价值呀,
小程序的函数式组件,现在似乎完全没有办法实现shouldComponent类似的优化