呈现此窗体时,收到错误消息 <tr> cannot appear as a child of <form>. 在浏览器控制台中。我怎么才能摆脱它呢?<form id='works_input_form' onSubmit={handleSubmit}> <td><div className='form-group'>
我在React中创建了一个表(我是新的React),但是我们使用的是CategoryDataCan,还是应该使用其他的东西呢?它也发出了这样的警告:
Warning: validateDOMNesting(...): <div> cannot appear as a child of <tbody>.Warning: validateDOMNesting(...): <tr</e
,它创建了几个div来实现列表滚动,根据需要动态嵌入所需的TableRows,从而输出react警告。webpack-internal:///490:506 Warning: validateDOMNesting(...): <tr> cannot appear as a child of <div>(我也不想在测试时使用发行版构建)
那么,是否有可能阻止发出这一警告?或者,在没有收到警告<