react-native
react-native
北故城�
这个作者很懒,什么都没留下…
展开
-
RN(0.62.2),iOS14 / Xcode12 本地图片加载不出,icon link之后依然报错记录
####本地图片资源不显示根据图片中的路径找到对应文件左侧有代码所在位置可快速定位只需要加上else 之后的处理即可解决####解决icon link之后还是报错的问题<key>UIAppFonts</key> <array> <string>AntDesign.ttf</string> <string>Entypo.ttf</string> <string>EvilIcons.tt原创 2021-07-30 16:10:33 · 256 阅读 · 0 评论 -
react-native typescrpit使用时的数据定义及扩展运算符报错问题记录
Function Componentstype AppProps = { message: string;}; const App = ({ message }: AppProps) => <div>{message}</div>;useStateconst [count, setCount] = React.useState<number>(0);// later...setUser(1);useReduceronst initial原创 2021-07-30 16:09:17 · 360 阅读 · 0 评论