使用react-native-cached-image報錯:
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object....
解決方法:看引用CachedImage,是不是寫了var CachedImage = require("react-native-img-cache")改成
import {CachedImage} from "react-native-img-cache";