Is React HOC a pure function?

前端 未结 0 535
滥情空心
滥情空心 2021-02-12 12:13

React HOCs are said to be pure functions. But don\'t we add some props to the original/base component and return a new enhanced component ? So with this "adding" of pr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题