美文网首页
React Native Points

React Native Points

作者: Cocsmile | 来源:发表于2016-06-02 10:31 被阅读0次

    Why bind()?

    ES5 Vs ES6

    mixins的使用

    minxins

    require()用法

    require最常用的方法
    require('http') 内置模块
    require('./server')  “./”表示当前路径,后面跟的是相对路径
    require("../lib/server") ../表示上一级目录,后面跟的也是相对路径
    

    atom技巧

    CMD+SHIFT+P  Toggle command palette
    CMD+\        Toggle tree-view sidebar
    CMD+SHIFT+F  Find in project
    CMD+P        Toggle file finder
    CMD+R        Go to symbol
    ctrl-alt-b   安装atom-beautify后可使用,格式化代码
    

    异步数据流

    redux-thunk,redux-promise
    A thunk is a function that wraps an expression to delay its evaluation.

    Jenkins 环境配置

    Node.js

    npm install
    

    rnpm

    npm i -g rnpm
    

    CODE PUSH

    Install the CodePush CLI

    npm install -g code-push-cli
    

    Create a CodePush account

    code-push register
    

    Register your app with the service

    code-push app add MyApp
    

    CodePush-ify your app link

    Release an app update

    code-push release-react MyApp ios.
    

    Run your app

    查看key

    code-push deployment ls <appName> -k

    相关文章

      网友评论

          本文标题:React Native Points

          本文链接:https://www.haomeiwen.com/subject/qsvqhttx.html