我有以下功能组件,我有兴趣了解如何将其更改为branch增强组件,而不是if语句。import React from 'react'import { Button, Icon, Label } from 'semantic-ui-react'
import { Link } from 'react</em
我正在尝试在React Native中添加一个对功能组件的引用,以便在FlatList组件上使用scrollToEnd。我想使用recompose来解决这个问题,作为他们的文档状态,toClass()应该能够处理这个问题。然而,没有给出任何例子。我将不胜感激!import React from 'react'