3
新的反應0.14 StatelessComponent很好。然而,當有一個錯誤的渲染方法,反應過來僅此打印到控制檯:更好的調試控制檯輸出的反應錯誤StatelessComponent
Uncaught Error: Invariant Violation: Objects are not valid as a React child
(found: Mon Nov 23 2015 06:00:00 GMT+0100 (Central Europe Standard Time)). If
you meant to render a collection of children, use an array instead or wrap the
object using createFragment(object) from the React add-ons. Check the render
method of `StatelessComponent`.
有沒有辦法來標註與displayName
的組成部分?