0

I know it is very simple, but the simple questions are always accompanied by no answer. Looks like the answer(答案: 略)

SO WHY?

enter image description here

TorvaldsDB
  • 579
  • 7
  • 4
  • 1
    If you use `StrictMode`, that will make these components re-rendered twice https://stackoverflow.com/questions/61254372/my-react-component-is-rendering-twice-because-of-strict-mode – Nick Vu Apr 07 '22 at 16:53

0 Answers0