Uncaught Error: Invariant Violation: findComponentRoot(…, …$110): Unable to find element. This probably means the DOM was unexpectedly mutated

后端 未结 8 531
情深已故
情深已故 2020-11-29 05:43

What I\'m doing wrong with nested cycles in React? I have searched information in Google and I didn\'t find anything suitable. Can you help me find, what I understand wrong?

8条回答
  •  甜味超标
    2020-11-29 06:09

    This error is because somewhere there is HTML markup that is not valid.

    In my case, I clumsily had React generating a form tag within a button tag and never realized until this error started to show up. Check your markup for nesting mistakes that are not allowed.

提交回复
热议问题