hoc 模式的疑问

来源:10-8 【扩展学习】React Hook 的历史

weibo_我叫风中追风13_0

2021-02-28

https://codesandbox.io/s/sharp-taussig-fbllx
老师 我想问下红框的this.props哪里可以设置值?我现在打印 this.props 是空对象

写回答

1回答

weibo_我叫风中追风13_0

提问者

2021-02-28

图片在这里//img.mukewang.com/szimg/603b6cc509ed605028881826.jpg

0
1
Nolan
const A = withXXX(XXX) name 就是props的一个键
2021-03-01
共1条回复