ReactNative学习分享

最近在学习ReactNative开发,感觉还是很容易上手的,搜集了不少资料,分享给大家。

为什么选ReactNative
现在移动端开发除了ReactNative之外还有最近阿里搞出来的Weex特别引人注目。尤其是Weex也开源了阿里又在大力推广,听说要在一年之内用Weex重新开发阿里旗下所有的App。开始的时候还在怀疑有那么好吗?但想到阿里都能把yunos说成第三大移动操作系统(Weex也有人觉的可以叫VueNative),就没有那么好奇了。不管它孰优孰劣,还是选择学习ReactNative。

开发工具选择
在IDE选择上还是推荐使用VS Code,其他工具如WebStorm,Atom,SublimeText 3等也可以。在VS Code 中添加RN开发插件可以快捷的开发(当然其他工具也可以,看个人喜欢!但我还是觉得VS Code好,至于搭建开发环境什么的看这里 React Native 中文网就行了)

React Native Tools:微软官方出的ReactNative插件,非常好用
Reactjs code snippets:react的代码提示,如componentWillMount方法可以通过cwm直接获得

学习资料收集

React Native
构建 Facebook F8 2016 App / React Native 开发指南 http://f8-app.liaohuqiu.net/
React-Native入门指南 https://github.com/vczero/react-native-lesson
30天学习React Native教程 https://github.com/fangwei716/30-days-of-react-native
React-Native视频教程(部分免费) https://egghead.io/technologies/react
React Native 开发培训视频教程(中文|免费) https://www.gitbook.com/book/unbug/react-native-training/details
react-native 官方api文档 http://facebook.github.io/react-native/docs/getting-started.html
react-native中文文档(极客学院) http://wiki.jikexueyuan.com/project/react-native/
react-native中文文档(react native中文网,人工翻译,官网完全同步) http://react-native.cn/docs/getting-started.html
react-native第一课 http://html-js.com/article/2783
深入浅出 React Native:使用 JavaScript 构建原生应用 http://zhuanlan.zhihu.com/FrontendMagazine/19996445
React Native通信机制详解 http://blog.cnbang.net/tech/2698/
React Native布局篇 https://segmentfault.com/a/1190000002658374
React Native 基础练习指北(一) https://segmentfault.com/a/1190000002645929
React Native 基础练习指北(二) https://segmentfault.com/a/1190000002647733
Diary of Building an iOS App with React Native http://herman.asia/building-a-flashcard-app-with-react-native
React Native For Beginners – The Next Big Thing? https://devdactic.com/react-native-for-beginners/
How To Implement A Tab Bar With React Native https://devdactic.com/react-native-tab-bar/
tcomb-form-native使用视频教程(需翻墙) https://react.rocks/example/tcomb-form-native
React Native分享记录 https://segmentfault.com/a/1190000002678782
React Native构建本地视图组件 https://www.dobest.me/article/11
react-native-android-lession(安卓系列教程) https://github.com/yipengmu/react-native-android-lession
React Native模块桥接详解 https://www.dobest.me/article/14
React Native: 配置和起步 http://www.liaohuqiu.net/cn/posts/react-native-1/
React Native: Android 的打包 http://www.liaohuqiu.net/cn/posts/react-native-android-package/
ReactNative之原生模块开发并发布——iOS篇 http://www.liuchungui.com/blog/2016/05/02/reactnativezhi-yuan-sheng-mo-kuai-kai-fa-bing-fa-bu-iospian/
ReactNative之原生模块开发并发布——android篇 http://www.liuchungui.com/blog/2016/05/08/reactnativezhi-yuan-sheng-mo-kuai-kai-fa-bing-fa-bu-androidpian/
react-native的第一课 https://github.com/coderyi/blog/blob/master/articles/2016/0122_react-native_first_lesson.md
React-Native专题系列文章 http://www.lcode.org/react-native/
react native redux FeInn 从0到1让你学会搭建一个APP https://github.com/febobo/react-native-redux-FeInn
React.js
react.js中文文档 http://reactjs.cn/
react.js入门教程(gitbook) https://hulufei.gitbooks.io/react-tutorial/content/introduction.html
react.js快速入门教程 - 阮一峰 http://www.ruanyifeng.com/blog/2015/03/react.html
react.js视频教程 http://react-china.org/t/reactjs/584
React Native之React速学教程https://github.com/crazycodeboy/RNStudyNotes/tree/master/React%20Native%E4%B9%8BReact%E9%80%9F%E5%AD%A6%E6%95%99%E7%A8%8B
ES6
深入浅出ES6(一):ES6是什么 http://www.infoq.com/cn/articles/es6-in-depth-an-introduction
深入浅出ES6(二):迭代器和for-of循环 http://www.infoq.com/cn/articles/es6-in-depth-iterators-and-the-for-of-loop
深入浅出ES6(三):生成器 Generators http://www.infoq.com/cn/articles/es6-in-depth-generators
深入浅出ES6(四):模板字符串 http://www.infoq.com/cn/articles/es6-in-depth-template-string
深入浅出ES6(五):不定参数和默认参数 http://www.infoq.com/cn/articles/es6-in-depth-rest-parameters-and-defaults
深入浅出ES6(六):解构Destructuring http://www.infoq.com/cn/articles/es6-in-depth-destructuring
深入浅出ES6(七):箭头函数Arrow Functions http://www.infoq.com/cn/articles/es6-in-depth-arrow-functions
深入浅出ES6(八):Symbols http://www.infoq.com/cn/articles/es6-in-depth-symbols
深入浅出ES6(九):学习Babel和Broccoli,马上就用ES6 http://www.infoq.com/cn/articles/es6-in-depth-babel-and-broccoli
深入浅出ES6(十):集合 http://www.infoq.com/cn/articles/es6-in-depth-collections
深入浅出ES6(十一):生成器Generators,续篇 http://www.infoq.com/cn/articles/es6-in-depth-generators-continued
深入浅出ES6(十二):代理Proxies http://www.infoq.com/cn/articles/es6-in-depth-proxies-and-reflect/
深入浅出ES6(十三):类Class http://www.infoq.com/cn/articles/es6-in-depth-classes
深入浅出ES6(十四):let和const http://www.infoq.com/cn/articles/es6-in-depth-let-and-const
深入浅出ES6(十五):子类Subclassing http://www.infoq.com/cn/articles/es6-in-depth-subclassing
深入浅出ES6(十六):模块Modules http://www.infoq.com/cn/articles/es6-in-depth-modules
深入浅出ES6(十七):展望未来 http://www.infoq.com/cn/articles/es6-in-depth-the-future
系列教程
深入浅出React(一):React的设计哲学 - 简单之美 http://www.infoq.com/cn/articles/react-art-of-simplity
深入浅出React(二):React开发神器Webpack http://www.infoq.com/cn/articles/react-and-webpack
深入浅出React(三):理解JSX和组件 http://www.infoq.com/cn/articles/react-jsx-and-component
深入浅出React(四):虚拟DOM Diff算法解析 http://www.infoq.com/cn/articles/react-dom-diff
深入浅出React(五):使用Flux搭建React应用程序架构 http://www.infoq.com/cn/articles/react-flux
react-webpack-cookbook中文版 http://fakefish.github.io/react-webpack-cookbook/
Flex 布局语法教程 http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html
React 初探 http://www.alloyteam.com/2015/04/react-explore/
React虚拟DOM浅析 http://www.alloyteam.com/2015/10/react-virtual-analysis-of-the-dom/
react组件间通信 http://www.alloyteam.com/2015/07/react-zu-jian-jian-tong-xin/
React 数据流管理架构之 Redux 介绍 http://www.alloyteam.com/2015/09/react-redux/
React服务器端渲染实践小结 http://www.alloyteam.com/2015/10/8783/
React Native Android 踩坑之旅 http://www.alloyteam.com/2015/10/react-native-android-steps-on-tour/
React Native 之 JSBridge http://www.alloyteam.com/2015/05/react-native-zhi-jsbridge/
React Native 研究与实践教程 https://github.com/crazycodeboy/RNStudyNotes
React Native探索系列教程
React Native探索(一):背景、规划和风险 http://www.infoq.com/cn/articles/react-native-overview
React Native探索(二):布局篇 http://www.infoq.com/cn/articles/react-native-layout
React Native探索(三):与 react-web 的融合 http://www.infoq.com/cn/articles/react-native-web
开源APP
研究源码也是一个很好的学习方式
官方演示App https://github.com/facebook/react-native/tree/master/Examples
Facebook F8 App https://github.com/fbsamples/f8app
GitHub Popular(一个用来查看GitHub最受欢迎与最热项目的App)已上架https://github.com/crazycodeboy/GitHubPopular
奇舞周刊 iOS 版(上架应用) https://github.com/fakefish/Weekly75
react-native-dribbble-app https://github.com/catalinmiron/react-native-dribbble-app
Gank.io客户端 https://github.com/Bob1993/React-Native-Gank
Mdcc客户端(优质) https://github.com/Bob1993/mdcc-client
Leanote for iOS(云笔记) https://github.com/leanote/leanote-ios-rn
ReactNativeRubyChina https://github.com/henter/ReactNativeRubyChina
HackerNews-React-Native https://github.com/iSimar/HackerNews-React-Native
React-Native新闻客户端 https://github.com/tabalt/ReactNativeNews
newswatch(新闻客户端) https://github.com/bradoyler/newswatch-react-native
buyscreen(购买页面) https://github.com/appintheair/react-native-buyscreen
V2EX客户端 https://github.com/samuel1112/v2er
react-native-todo https://github.com/joemaddalone/react-native-todo
react-native-beer https://github.com/muratsu/react-native-beer
react-native-stars https://github.com/86/react-native-stars
模仿天猫首页的app https://github.com/hugohua/react-native-demo
ReactNativeChess https://github.com/csarsam/ReactNativeChess
react native 编写的音乐软件 https://github.com/Johnqing/miumiu
react-native-pokedex https://github.com/ababol/react-native-pokedex
CNode-React-Native https://github.com/SFantasy/CNode-React-Native
8tracks电台客户端 https://github.com/voronianski/EightTracksReactNative
React-Native实现的计算器 https://github.com/yoxisem544/Calculator-using-React-Native
房产搜索app https://github.com/jawee/react-native-PropertyFinder
知乎专栏app https://github.com/LeezQ/react-native-zhihu-app
ForeignExchangeApp https://github.com/peralmq/ForeignExchangeApp
Segmentfault 客户端 https://github.com/fakefish/sf-react-native
糗事百科app https://github.com/stormhouse/QiuShiReactNative
孢子社区app https://github.com/Hi-Rube/baoz-ReactNative
深JS app https://github.com/fraserxu/shenjs
Den - 房屋销售app* https://github.com/asamiller/den
Noder-cnodejs客户端 https://github.com/soliury/noder-react-native
知乎日报Android版 https://github.com/race604/ZhiHuDaily-React-Native
ziliun-react-native https://github.com/sonnylazuardi/ziliun-react-native
react-native-weather-app https://github.com/shevawen/react-native-weather-app
React Native Sample App(Navigation,Flux) https://github.com/taskrabbit/ReactNativeSampleApp
TesterHome社区app https://github.com/qddegtya/A-ReactNative-TesterHome
Finance - 股票报价app https://github.com/7kfpun/FinanceReactNative
shopping - 购物app https://github.com/bigsui/shopping-react-native
zhuiyuan - 追源cms app https://github.com/kazaff/ZhuiYuanDemo
uestc-bbs-react-native - UESTC清水河畔RN客户端(with Redux) https://github.com/just4fun/uestc-bbs-react-native
react-native-nw-react-calculator(iOS/Android、Web、桌面多端) https://github.com/benoitvallon/react-native-nw-react-calculator
react-native-nba-app https://github.com/wwayne/react-native-nba-app
开源中国的Git@OSC客户端 http://git.oschina.net/rplees/react-native-gitosc
rn_bycloud 帮瀛律师端app https://github.com/liuchungui/rn_bycloud
ReactNativeRollingExamples https://github.com/joggerplus/ReactNativeRollingExamples
Reading App Write In React-Native(Studying and Programing https://github.com/attentiveness/reading
数独 - 重拾纯粹数独的乐趣 https://github.com/nihgwu/react-native-sudoku
Shop-React-Native https://github.com/EleTeam/Shop-React-Native
掘金客户端 https://github.com/wangdicoder/JueJinClient
cnblogs 客户端 https://github.com/togayther/react-native-cnblogs
图书
《React Native入门与实战》 http://item.jd.com/11844102.html
《React Native开发指南》 http://www.ituring.com.cn/book/1846
《React Native跨平台移动应用开发》 http://item.jd.com/10372998311.html
《React Native:用JavaScript开发移动应用》 http://item.jd.com/11785195.html
组件
由于已经有较好的组件库网站,这里就不做总结。可以直接查看如下网站,过后可能精选一部分优质组件出来 :P
React-native组件库(比较全的组件库) https://js.coach/
React Native Modules http://reactnativemodules.com/
最佳轮播类组件 https://github.com/leecade/react-native-swiper
react-native-simple-router https://github.com/react-native-simple-router-community/react-native-simple-router
react-native-router-flux https://github.com/aksonov/react-native-router-flux
下拉刷新组件 https://github.com/jsdf/react-native-refreshable-listview
模态框 https://github.com/brentvatne/react-native-modal
react-native-navbar https://github.com/react-native-fellowship/react-native-navbar
滚动轮播组件 https://github.com/appintheair/react-native-looped-carousel
HTML显示组件 https://github.com/jsdf/react-native-htmlview
Material React Native (MRN) - Material Design组件库 https://github.com/binggg/mrn
react-native-gitfeed - GitHub客户端(iOS/Android) https://github.com/xiekw2010/react-native-gitfeed
React-Native-Elements - React Native样式组件库 https://github.com/react-native-community/React-Native-Elements
Shoutem UI - React Native样式组件库 https://github.com/shoutem/ui
工具
react-native-snippets(代码提示) https://github.com/Shrugs/react-native-snippets
react-native-babel(使用ES6+) https://github.com/roman01la/react-native-babel
sqlite for react-native https://github.com/almost/react-native-sqlite
gulp-react-native-css(就像写css一样写React Style) https://github.com/soliury/gulp-react-native-css
rnpm(React Native Package Manager) https://github.com/rnpm/rnpm
Pepperoni - React Native项目初始化套件 https://github.com/futurice/pepperoni-app-kit
Deco IDE - React Native IDE https://www.decosoftware.com/
ignite - React Native CLI项目生成器 https://github.com/infinitered/ignite
资源网站
React-native官网 http://facebook.github.io/react-native/
React-China社区 http://react-china.org/
React Native中文社区 http://bbs.react-native.cn/
React-native组件库(比较全的组件库) http://react.parts/
React Native Modules http://reactnativemodules.com/
Use React Native 资讯站(使用技巧及新闻) http://www.reactnative.com/
11款React Native开源移动 UI 组件 http://www.oschina.net/news/61214/11-react-native-ui-components
稀土掘金的 React 标签 http://gold.xitu.io/#/tag/React.js http://gold.xitu.io/#/tag/React%20Native
业界讨论
跨平台开发时代的 (再次) 到来?( Xamarin,NativeScript 和 React Native 对比) http://onevcat.com/2015/03/cross-platform/
谈谈 React Native - 唐巧 http://blog.devtang.com/blog/2015/02/01/talk-about-react-native/
如何评价React-Native? https://www.zhihu.com/question/27852694/answer/43990708
React Native概述:背景、规划和风险 http://div.io/topic/938
Native与Web的融合 - Qcon中React-Native演讲 http://www.infoq.com/cn/presentations/the-fusion-of-native-and-web
使用React Native一年后的感受http://www.dobest.me/blog/2016/06/12/%E4%BD%BF%E7%94%A8React%20Native%E4%B8%80%E5%B9%B4%E5%90%8E%E7%9A%84%E6%84%9F%E5%8F%97/
Weex & ReactNative & JSPatch大对比 http://awhisper.github.io/2016/07/22/Weex-ReactNative-JSPatch/
weex&ReactNative对比 https://zhuanlan.zhihu.com/p/21677103

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 158,425评论 4 361
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 67,058评论 1 291
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 108,186评论 0 243
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 43,848评论 0 204
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 52,249评论 3 286
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 40,554评论 1 216
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 31,830评论 2 312
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 30,536评论 0 197
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 34,239评论 1 241
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 30,505评论 2 244
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 32,004评论 1 258
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 28,346评论 2 253
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 32,999评论 3 235
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 26,060评论 0 8
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 26,821评论 0 194
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 35,574评论 2 271
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 35,480评论 2 267

推荐阅读更多精彩内容