摘要:
【ref】 1、Callback Refs 最古老原始的,通过 ref={SetMethod} 来获取 ref的方法。 2、Creating Refs Callback refs 需要写很多 SetMethod,非常麻烦。最新的 React 已经推出了 Creating Refs,来减少 SetMe 阅读全文
posted @ 2018-12-16 20:07
Tekkaman
阅读(380)
评论(0)
推荐(0)
浙公网安备 33010602011771号