react tutorial comment遇到的问题解决
2016-03-09 15:49
585 查看
问题:Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `CommentBox`.
解决方式:
CommentBox 所包含的组件要定义到CommentBox的上面,如果不这样的话,就会报上述错误。将CommentBox放到其他组件下面,问题解决。
相关文章推荐
- React-表单详解
- ReactiveCocoa - iOS开发的新框架
- React Native for Android 学习
- React Native 快速入门之认识Props和State
- [RxJS] Reactive Programming - Sharing network requests with shareReplay()
- [RxJS] Reactive Programming - Clear data while loading with RxJS startWith()
- windows7搭建react native开发环境
- ReactiveCocoa 学习心得 -- 1
- [RxJS] Reactive Programming - New requests from refresh clicks -- merge()
- MVVM-ReactiveCocoa
- 【无源汇有上下界可行流】ACdream1211-Reactor Cooling
- react与native异步交互的几种方式
- ACE反应器(Reactor)模式(4)
- ACE反应器(Reactor)模式(3)
- ACE反应器(Reactor)模式(2)
- ACE反应器(Reactor)模式(1)
- React Native(第二节点击事件)
- React Native开发之按钮的使用
- ReactiveCocoa入门教程——第二部分
- ReactiveCocoa入门教程——第一部分