背景:同一组件既需要connect 包裹,又需要forwardRef 拿到ref。 方案一(参考react-redux源码): const TargetComponent = React.f...
確定! 回上一頁