上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: 一、代码结构 不同于mac开发环境,拥有index.ios.js和index.android.js两个编译文件,此处windows下仅在app.js中编译; 二、简单的helloword一闪闪效果 app.js 三、涉及知识点 多用es6语法、react语法、jsx语法和RN语法及开发思想(组件化) 阅读全文
posted @ 2019-01-24 23:23 执白 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 一、开发的脚手架(create-react-app) 安装脚手架: npm install -g create-react-app 开发项目: create-react-app hello-react 开启项目: cd hello-react yarn start 二、组件 react在js文件里创 阅读全文
posted @ 2019-01-24 13:23 执白 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1.React组件之间的通信 2.中间件做代理解决跨域问题 3.不要再问我跨域的问题了 4.React 组件数据流 && 组件间沟通 5.如何理解虚拟DOM //已整理 6.react性能调谐与diff算法 7.React Native--使用React Navigation实现界面导航与跳转 8. 阅读全文
posted @ 2019-01-24 13:11 执白 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 一、在命令行中 通过py -x 二、在py文件中 头部字段添加 #!python2 或 #!python3 即可调用相应版本解释器 命令行调用python:py helloworld.py 阅读全文
posted @ 2019-01-22 11:48 执白 阅读(1261) 评论(1) 推荐(0) 编辑
摘要: var express = require('express') var proxy = require('http-proxy-middleware') var app = express() app.use('/api', proxy({ target: 'http://xxxxx', // 目标代理地址 changeOrigin: true, pathRewrite: ... 阅读全文
posted @ 2019-01-13 17:28 执白 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: app.js todo.ejs todoController.js 阅读全文
posted @ 2019-01-06 20:56 执白 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 一、express 可以做:web application、api... 特性: 适合写简单的路由系统 集成很多模板引擎 中间件系统 二、请求与响应 三、路由参数 server.js terminal chrome 四、查询字符串 server.js terminal chrome 五、post请求 阅读全文
posted @ 2019-01-05 18:05 执白 阅读(461) 评论(0) 推荐(0) 编辑
摘要: index.html app.js server.js router.js handler.js 阅读全文
posted @ 2019-01-05 17:14 执白 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 一、繁琐的自建路由 app.js server.js 二、重构路由 app.js server.js handler.js router.js 三、页面整体结构 阅读全文
posted @ 2019-01-05 11:50 执白 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 一、Node简介 node是一个基于v8引擎的JavaScript运行环境。 二、全局对象 setTimeout setInterval clearTimeout clearInterval console setTimeout setInterval clearTimeout clearInter 阅读全文
posted @ 2019-01-04 18:37 执白 阅读(144) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页