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
的组成部分?