xgqfrms / ES6

:sunny: ECMAScript 6(ES 6/ES 2015): New Features Overview & Comparison :fire:
https://es6.xgqfrms.xyz
MIT License
1 stars 5 forks source link

ES-Next #12

Open xgqfrms opened 5 years ago

xgqfrms commented 5 years ago

ES-Next

ES5, ES6, ES7, ES8, ES9, ES10, ES-Next

https://github.com/xgqfrms/es-next

ES7 Decorator

https://www.sitepoint.com/javascript-decorators-what-they-are/

image

demo

这个@connect 的注解,是把下面的 class 与 上面的方法一起生成 container 组件

image

https://github.com/tc39/proposal-decorators

https://babeljs.io/docs/en/babel-plugin-proposal-decorators

https://es6.ruanyifeng.com/#docs/decorator


https://www.greycampus.com/blog/programming/java-script-versions

https://juejin.im/post/5ca2e1935188254416288eb2

xgqfrms commented 5 years ago

https://www.sitepoint.com/es2018-whats-new/ https://www.sitepoint.com/es2017-whats-new/

xgqfrms commented 5 years ago

ES-Next & ES7 @decorator

https://github.com/xgqfrms/es-next/issues/1

https://www.cnblogs.com/xgqfrms/p/10971637.html