Expected a component class,got[object Object]
来源:互联网 发布:机械手g402鼠标宏编程 编辑:程序博客网 时间:2024/05/26 02:52
引用的组件首字母应该大写 小写就会造成错误 Expected a component class,got[object Object]
import React, { Component } from 'react';import { AppRegistry, StyleSheet, TextInput, TouchableOpacity, ScrollView, Text, View} from 'react-native';import ScrollViewDemo from "./scrollViewDemo";import ScrollViewTop from "./scrollViewTop";export default class CQQLoginDemo extends Component { render() { return ( <ScrollViewTop/> ); }}AppRegistry.registerComponent('CQQLoginDemo', () => CQQLoginDemo);
1 0
- Expected a component class,got[object Object]
- expected a component class, got [object object]
- expected a component class,got[object object]
- Expected a component class, got [object Object]
- react native:Expected a component class,got [Object Object ]
- react native:Expected a component class,got [Object Object ]
- ReactNativeJS: Expected a component class, got [object Object].
- class A(object):
- Object expected
- TypeError: expected a character buffer object
- Object#class
- selenium:expected [object undefined] undefined to be a string
- Determining the Size of a Class Object
- Determining the Size of a Class Object
- Determining the Size of a Class Object
- Determining the Size of a Class Object
- Component Object Model (COM)
- Component object model
- 指纹识别-模组结构
- JavaScript严格模式及其使用
- compass 用法简介
- 面向对象的特征
- bootstrap-table在当前页搜索字段
- Expected a component class,got[object Object]
- bzoj 1013 [JSOI2008]球形空间产生器sphere
- package.json 里面的dependencies和devDependencies的区别
- 第95篇 ES之安装Elastica及总结安装Elastica
- Lab、TextView文字两端对齐(中英文、标点、空格换行)
- 从上到下打印二叉树
- 安装DBF Commander步骤
- 文章标题
- java学习 五、条件语句 三目运算