ES6,react,promise常用语法参考链接

1.ES6方便的写法Destructuring assignment用法,用于非打包数组
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment
2.react参考:http://twomeetings.github.io/2016/02/10/React%E7%B3%BB%E5%88%97%E6%96%87%E7%AB%A0%E4%B9%8B%E4%B8%80%EF%BC%8D%E5%BC%80%E7%AF%87/
ES6编写组件React
http://twomeetings.github.io/2016/03/11/React%E7%B3%BB%E5%88%97%E6%96%87%E7%AB%A0%E4%B9%8B%E4%BA%94%EF%BC%8D%E7%BB%84%E4%BB%B6%E7%9A%84%E5%8F%A6%E5%A4%96%E4%B8%A4%E7%A7%8D%E5%86%99%E6%B3%95/
3.ES6 props和states简介:
概括来说:state用于视图层,易变;props用于从视图层或者其他层传递数据,不可变。
https://stackoverflow.com/questions/27991366/what-is-the-difference-between-state-and-props-in-react
http://twomeetings.github.io/2016/02/10/React%E7%B3%BB%E5%88%97%E6%96%87%E7%AB%A0%E4%B9%8B%E4%B8%80%EF%BC%8D%E5%BC%80%E7%AF%87/
props和states详细说明(ES5——>ES6)
http://blog.techbridge.cc/2016/04/04/react-react-native-es5-es6-cheat-sheet/
React中state与props介绍与比较:
http://lib.csdn.net/article/react/44693
4.ES6 promise对象:
http://wiki.jikexueyuan.com/project/es6/promise.html
Promise.resolve()
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve

你可能感兴趣的:(ES6,react,promise常用语法参考链接)