我的具体目标是使用ScrollView的ScrollTo method,但保持功能组件 struct .
更一般地说,这需要获得isn't possible with naked react native的当前组件的ref.
2016年12月,recompose增加了Allows handlers property of withHandlers to be a factory function,但我不太明白如何正确使用它.
如何在ScrollView上使用重组和调用ScrollTo中的WithHandler向功能组件添加引用?