React 之前是支持工厂组件的,他返回一个包含render签名的对象。 ... 他需要两个props:id(string)和onRender callback(函数),当组件提交更新时调用这个Profiler。
確定! 回上一頁