E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
reactnative编码规范
M1安装
reactNative
踩坑
brew安装转载链接[https://www.jianshu.com/p/06a9a59e7040]报错踩坑Error:Nosimilarlynamedformulaefound解决办法cd/usr/local/Homebrew/Library/Taps/homebrew/rm-rfhomebrew-coregitclonehttps://github.com/Homebrew/homebrew-
懿轩加油
·
2022-02-19 13:48
为什么使用eros
3.
reactnative
(点击可查
广州小单纯
·
2022-02-19 11:23
ReactNative
开发-红屏\报错记录(持续更新...)
BUG描述error:bundlingfailed:"Unabletoresolvemodulereact-native/Libraries/EventEmitter/EventEmitter解决办法1.先把node_modules目录下的react-native-root-siblings删除2.再把根目录下package.json里的react-native-root-toast删除3.然后重
lyichao
·
2022-02-19 11:02
如何才能写程序(Coding)写得快?四
例如,保持统一的
编码规范
《Python
编码规范
(StyleGuide)1》,例如,用do_inference_one_time(),代替注释#doinferenceonetime例如,全小写命名表示函数
LabVIEW_Python
·
2022-02-19 04:27
flex布局 帮助理解的图片
之前是学
reactnative
的时候,推荐有篇微博关于flex布局的,非常好.现在微博找不到了,经过一系列复杂搜索,找到了转载的图片,赶紧保存下原微博image.pngimage.pngimage.pngimage.pngimage.png
折叠幸福
·
2022-02-19 01:42
前端css、less、sass
编码规范
---BEM
前言为什么要使用css的
编码规范
?编辑一个class是否安全,会不会干扰其他CSS。这是最重要的。想知道一个class放在大工程中的什么地方,以防止大脑过载。
白水螺丝
·
2022-02-19 01:54
这是一个关于构筑知识体系的flag
图片发自App不知不觉就到了这么个阶段,代码风格、效率、设计都OK,算是自发做到了
编码规范
与良好设计,追求更高层次的东西。新员工部门培训会要我去讲两堂课,一个是TL制度,一个是MAC软件架构。
燃斧滴凡人
·
2022-02-18 23:43
React Native 从零单排7 网络请求
RN版本:0.64系统:Win10前言记录一下
ReactNative
如何进行网络请求,Fetch和WebSocket的基础使用可以直接到
ReactNative
官网或者ReactNatiive中文网查看文档
房祥_a7f1
·
2022-02-18 19:53
ReactNative
与 WebView 交互
在
reactnative
开发中,webview通常只是用来显示网页或者带有html标签的字符串。但是,很多时候需要
reactnative
与webview的内容进行交互,比如点击事件,滑动事件等等。
做个前端
·
2022-02-18 19:10
Vue ESLint
作用审查代码是否符合
编码规范
和统一代码风格审查代码是否存在语法错误配置.editorconfig.editorconfig用于配置IDE工具,EditorConfig插件会去查找当前编辑文件所在目录及其上级目录是否存在
JunChow520
·
2022-02-18 09:35
C++
编码规范
——内联
内联背景:函数的作用:使用函数能够避免将相同代码重写多次的麻烦,还能减少可执行程序的体积,但也会带来程序运行时间上的开销。函数执行过程:函数调用在执行时,首先要在栈中为形参和局部变量分配存储空间,然后还要将实参的值复制给形参,接下来还要将函数的返回地址(该地址指明了函数执行结束后,程序应该回到哪里继续执行)放入栈中,最后才跳转到函数内部执行。这个过程是要耗费时间的。函数返回后:函数执行return
龙翱天际
·
2022-02-18 09:14
配置
ReactNative
环境及开发工具使用(ios)
#配置
ReactNative
环境###安装依赖#####必须安装的依赖有:Node、Watchman、Xcode和CocoaPods。
子轩_d249
·
2022-02-18 07:18
React Native Typescript Redux快速搭建
继使用VisualStudioCode和typescript开发调试
ReactNative
项目之后,这次我们继续
ReactNative
Typescript系列项目初始化的细节就不一一叙述的,感兴趣的同学可以看下上面两篇博客
ArthurWang
·
2022-02-18 04:15
React Native用fetch调用.net mvc webapi(七)
1.调用service时this的作用域问题2..net实现api的跨域允许,在web.config进行如下配置:con3.直接使用vs调试模式下,使用地址localhost或者127.0.0.1发现
reactnative
Jason_兵哥
·
2022-02-18 02:01
每个开发者都应该拥有一款的 GitHub Trending 客户端,GitHub 最受欢迎的开源项目浏览器
GitHubPopularDownloadPRsWelcomeGitHubPopularreleaselanguageEnglish这是一个用来查看GitHub最受欢迎与最热项目的App,它基于
ReactNative
CrazyCodeBoy
·
2022-02-18 00:57
React Native学习路线
转自http://blog.talisk.cn/blog/2016/08/13/RN-Learning-path-for-iOS-developer/
ReactNative
概念介绍名词解释首先列举几个关键词
嫌疑人螺某
·
2022-02-17 23:24
react-native 安卓打包
具体参照react-native中文网打包教程:http://
reactnative
.cn/docs/0.39/signed-apk-android.html#content大体分分为以下四步(看红线标示部分即可
静皂蓝本
·
2022-02-17 21:23
React-native 各类组件集合
ReactNative
UI组件库teasethttps://github.com/rilyu/teaset
ReactNative
之动作悬浮按钮:https://js.coach/react-native
残忍的知识份子
·
2022-02-17 17:10
Python 使用随笔
1最好不要嵌套使用if,首先不说是否符合
编码规范
,如果一定要的话,一定要在后面跟一个else。不管else是否有处理逻辑。理由:我们都知道,Python是用缩进来作为作用域的区分的。
muboluo
·
2022-02-17 16:28
ubuntu 环境下Webstorm 中Dart sdk 的位置设定
后来就用上
ReactNative
,确实效果不错,一个统一的语言和框架跨平台而且有着和原生APP类似的速度和效果,但随着项目开发的深入,JavaScript给我的感觉就好像来到了印度:国家
林慕空
·
2022-02-17 13:00
ReactNative
知识点整理(1)
1.如何创建一个轮播view,点击事件绑定,自动播放和手动播放?列出具体步骤先安装三方控件npmireact-native-swiper–save导入SwipervarSwiper=require(‘react-native-swiper');构建视图render(){return({this.renderImg()});}绑定点击事件renderImg(){varimageViews=[];le
KumLight
·
2022-02-17 12:51
2017-12-25
ReactNative
实战系列http://blog.csdn.net/hsbirenjie/article/category/6307126/4
ReactNative
开发---携程APPhttp://
小刘_假装是个程序员
·
2022-02-17 11:07
React native 模拟器上报 Application XXX has not been registered
日期:2019年12月24日
Reactnative
模拟器上报ApplicationXXXhasnotbeenregistered这几天被
reactnative
项目编译运行时的各种报错所困扰,作为小白,只能一步步摸索
五十岚色叶
·
2022-02-17 07:00
==的使用
积累日常遇到的
编码规范
,良好的编码习惯,持续更新。。。日常使用==用于判断的时候,习惯性将比较值写前面,变量写后面null==mName;true==btnCloseIsClick;1==mAge;
IT废柴
·
2022-02-17 07:48
React Navigation 5.x教程与配置详解
一、简介ReactNavigation是
ReactNative
是目前最主流的屏幕页面切换的导航方案。
PandaXiong
·
2022-02-17 02:18
Device is not authorized to use BluetoothLE
用
ReactNative
开发APP的时候,需要和蓝牙设备交互,于是选了
ReactNative
BLEPlx这个库。
KimYYX
·
2022-02-16 20:42
阿里巴巴
编码规范
(Java)
编程规约命名风格1.代码命名不能以下划线或者美元符号开头或者结尾2.代码命名不能以中文拼音或者中文拼音与英文混合方式3.类名使用UpperCamCamelCase风格,但DO、PO、DTO、VO、BO等除外4.方法名、参数名、变量名统一使用lowerCamelCase,必须遵守驼峰命名5.常量名全部大写,单词间用下划线隔开6.抽象类必须以Abstract或者Base开头,异常类必须以Excepti
试试看呗Beta
·
2022-02-16 18:19
iOS
编码规范
一般原则清晰命名最好清晰又简洁,但是不能过于简洁而失去了清晰。insertObject:atIndex://这是个好例子insert:at://不够清晰,插入的是什么?at又指的是什么?名称通常不缩写,即使名称很长,也要拼写完全代码点评destinationSelectionGood.destSelNotclear.setBackgroundColor:Good.setBkgdColor:Notc
有度YouDo
·
2022-02-16 14:39
react-native-easy-app 详解与使用之(三) View,Text,Image,Flatlist
react-native-easy-app是一款为
ReactNative
App快速开发提供基础服务的纯JS库(支持IOS&Android),特别是在从0到1的项目搭建初期,至少可以为开发者减少30%的工作量
如风008
·
2022-02-16 13:42
【React Native填坑之旅】从源码角度看JavaModule注册及重载陷阱
目录一、前言二、需要了解的几个类三、JavaModule注册流程参考资料一、前言JavaModule是
ReactNative
提供给我们封装原生模块的能力,它可以让你复用一些原生的代码,又或者如果
ReactNative
守望君
·
2022-02-16 10:53
VSCode调试 React Native
工程准备新建测试工程react-nativeinitexample完成后用VSCode打开工程调试1.安装
ReactNative
Tools点击扩展搜索
ReactNative
Tools即可如果已经安装好了可以跳过
冰琳92
·
2022-02-16 10:10
小白看React Native
1.Whatis
ReactNative
ReactNative
众所周知,产品的需求总是想快速的迭代。但是由于应用分发市场的审核机制(主要是iOS审核),使一些快速迭代的需求只能选择web作为应用场景。
peterlmeng
·
2022-02-16 02:57
Android编程规范制定可行的实施策略
Checkstyle已编辑文档,查看即可可自定义JtestJtest是Parasoft公司推出的一款针对Java语言的自动化代码优化和测试工具,它通过自动化实现对Java应用程序的单元测试和
编码规范
校验
孙科技
·
2022-02-16 01:29
Vue前端开发规范
Vue前端开发规范文档目录Vue前端开发规范文档一、概述二、方针三、环境要求四、
编码规范
4.1HTML/Template
编码规范
4.1.1语法4.1.2HTML5doctype4.1.3语言属性4.1.4
**星晴*
·
2022-02-15 09:10
Vue前端开发规范
javascript
css3
es6
html
vue.js
如何将Swift(OC)现有项目集成到现有的
reactNative
项目中
一、准备材料:1.现有的Swift(OC)项目;2.现有的
ReactNative
项目;3.Cocoapods二、步骤:(1)首先进入
ReactNative
项目根目录下,删除node_modules和package-lock.json
Espero
·
2022-02-15 07:35
关于提高代码封装能力的思考
代码封装能力:写每一行代码时站在使用者、维护者的角度去思考:1.是否具有封装性2.是否符合
编码规范
3.是否具有通用性4.是否易维护5.是否具有健壮性站在面向对象的角度去考虑;平常还是需要多敲代码,多思考
e_小白
·
2022-02-15 06:35
ReactNative
与原生代码的通信(iOS篇)
从RN端发送消息到iOS端的过程:iOS端在想给RN端调用的类文件中使用宏定义RCT_EXPORT_MODULE()导出这个类,并且使用宏定义RCT_EXPORT_METHOD()导出想给RN端调用的类方法,再遵守RCTBridgeModule协议,方法的实现是写在iOS端的,这样RN端通过调用这个方法就可以将想传递的参数传到iOS端iOS端代码:@implementationExampleInt
saiGo
·
2022-02-15 05:29
swift
编码规范
收集
编码格式1.1使用二元运算符(+,-,==,或->)的前后都需要添加空格letvalue=1+21.2在逗号后面加一个空格lettitleArray=[1,2,3,4,5]1.3方法的左大括号不要另起,并和方法名之间留有空格,注释空格//functionDefinefuncmyFunction{//处理}1.4判断语句不用加括号iftypeValue==1{//处理}1.5尽量不使用self.除非
xxzsxxzs
·
2022-02-15 03:56
Flutter环境配置&基本语法&如何使用库
flutter基本了解笔记开始,先贴出几个学习flutter的官方链接:flutter官网:链接flutter中文网:链接github网址:链接DartPackages:链接HankFlutter配置:链接1.1
ReactNative
YYFast
·
2022-02-15 00:18
react-native 自定义简单日历组件
自定义简单日历组件先yarnaddmoment只依赖这个日期处理插件import{Component}from"react";/***日历组件*/varReact=require('react');var
ReactNative
俗人彭jin
·
2022-02-14 23:49
编码规范
制定
编码规范
的原因是我们在开发和维护时候可以保持代码风格一致,在一个项目的生命周期中,可能会有不同的人参与到开发和维护,保证了风格一致的
编码规范
无疑会规避很多的风险,让项目始终保持在一个合理和健康的状态
Lilin_Coder
·
2022-02-14 20:49
React Native version mismatch报错解决方法
react-native报错:
ReactNative
versionmismatch.JavaScriptversion:0.51.0Nativeversion:0.55.3如图所示:image.png解决办法
我的昵称好听吗
·
2022-02-14 19:52
RN与IOS互相传值,通信
他们可以导出任意的函数和常量给
ReactNative
。
幽玄727
·
2022-02-14 18:18
React Native 使用Yarn (环境)
ReactNative
使用Yarn,Yarn是Facebook提供的替代npm的工具,可以加速node模块的下载1.安装Yarn:npminstall-gyarnreact-native-cli2.设置国内镜像
Jason_兵哥
·
2022-02-14 18:58
JS
编码规范
1.使用字面值创建对象和数组//badconstitem=newObject();constitems=newArray();//goodconstitem={};constitems=[];2.用Array.from将类数组对象转换成数组functionfn(){console.log(arguments);//Arguments(3)[1,2,3]constarr=Array.from(arg
hanahaha
·
2022-02-14 18:07
webstorm react-native 配置
//github.com/minwe/jetbrains-reactreact-native插件下载方法下载方法:安装方法(Windows和Mac都支持):file->importsettings->
ReactNative
.jar
proud2008
·
2022-02-14 13:41
从源码深入探究react-native 0.60 的autolink过程
ReactNative
0.60加入了一个很重要的特性:autolinking,从此项目引入第三方库中的原生依赖再也不用额外调用react-nativelink命令了,同时link时也不会像之前一样入侵原生代码
一只路过的小学生
·
2022-02-14 10:38
iOS
ReactNative
学习资料
ReactNative
中文网
ReactNative
源码
ReactNative
的RNTableView:重用机制提高性能React-Native学习指南
齐舞647
·
2022-02-14 09:52
基于
ReactNative
的天气应用开发
学习
ReactNative
有一段时间了,于是开发了一个简单的天气应用练练手,欢迎大家fllow和star项目地址:https://github.com/nickming/ReactWeatherReactWeather
NKming
·
2022-02-14 07:23
React资源链接
React入门实例教程-阮一峰http://www.ruanyifeng.com/blog/2015/03/react.html
ReactNative
中文版http://wiki.jikexueyuan.com
贞贞姐
·
2022-02-14 06:25
上一页
43
44
45
46
47
48
49
50
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他