![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React Native
cake_eat
加油,xm
展开
-
react-native实现插槽功能
this.props.children 属性表示组件的所有子节点。利用this.props.children可以实现插槽功能。class Index extends React.Component{ render(){ return <View> <Sub color="red"> <View><Text>++++++++</Text></View> </Sub>原创 2021-06-15 11:54:44 · 787 阅读 · 0 评论 -
React Native 解决 Could not get BatchedBridge问题
问题描述:项目可以正常启动,但是移动端报错,报错信息如下:原因:8081端口被占用解决方法:关闭8081端口原创 2021-06-14 15:20:15 · 714 阅读 · 0 评论