React - Strict Mode off, functional component constructed second time after first state change only

后端 未结 0 567
夕颜
夕颜 2020-12-11 04:58

I\'m confused why function components (non class components don\'t confuse with functional) are constructed twice when state changes?

My understanding was that the fu

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