Check if particular prop exists in React and set state one time if check is positive

后端 未结 0 1927
粉色の甜心
粉色の甜心 2021-01-03 07:26

As title states. I currently using componentWillReceiveProps which works, but as i seen, it will get deprecated.

One suggestion that pops up is get

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