muc*_*le6 5 reactjs enzyme
我什么时候使用wrapper.instance().statevs wrapper.state()?
wrapper.instance().state
wrapper.state()
看起来 instance 给了我整个对象、类函数等等,所以如果我想检查一切,我应该只使用 instance 吗?是wrapper.state()在所有其他情况下更快?
归档时间:
7 年,6 月 前
查看次数:
240 次
最近记录:
7 年,5 月 前