我有一个名为HomeContent的react自定义组件,它接受一些属性。根据我制作的react-spring文档,将其设置为动画const animatedHomeContent = animated(HomeContent);然后为了渲染,我这样做了: desc="Onions from farms of Nasik" quantity="1kg
我刚刚学习了三个月的react和react-native,我对函数组件非常熟悉,因为从第一步开始,我已经在function中写了一个"hello world“,现在我仍然坚持使用function,因为,我读了一些博客,使用hooks,学习类是可选的,所以我决定专注于functional component。todo.done).length t