一 react 中table报错 validateDOMNesting(...): <tr> cannot appear as a child of <table>. See Zujian > table > tr. Add a <tbody> to your code to match the DOM tree generated by the browser. 原因:在React中<tr>元素不可以作为<table>元素的直接子元…
继续上一次基础篇, 分享一些关于React的进阶技术 React 进阶部分 ** context ** ** setState vs forceUpdate ** ** Mixins ** ** HOC ** Components 相关 context 在 React 官方文档上有对 context 的说明: Context is an advanced experimental feature. The API is likely to change in future releases **…