- Babel 6 - Mysterious return super() from the constructor. https://babeljs.io/repl/#?babili=false&evaluate=true&lineWrap=false&presets=stage-2&targets=&browsers=&builtIns=false&debug=false&code_lz=MYGwhgzhAECC0G9oF8BQrSRgIWgUwA8AXPAOwBMZ4FVpoAjaAXmgFYBuVZIA 21 comments javascript
- Babel: experimental `do` syntax http://www.babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&playground=false&code=class%20menu%20%7B%0A%20%20render()%20%7B%0A%20%20%20%20return%20(%0A%20%20%20%20%20%20%3Cdiv%3E%0A%20%20%20%20%20%20%20%20%3Ch2%3Emenu%3C%2Fh2%3E%0A%20%20%20%20%20%20%20%20%7Bdo%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20(user)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuserinfo%20user%3D%7Buser%7D%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cloginform%20%2F%3E%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D%7D%0A%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20)%0A%20%20%7D%0A%7D%0A 15 comments javascript
- Re-Imagining Flux Actions/Stores with ES6/ES7 http://babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&code=function%20example()%7B%0A%20%20%0A%20%20%20%20class%20Actions%20%7B%0A%20%20%20%20%20%20%40Observable%0A%20%20%20%20%20%20static%20processSomething%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20class%20Store%20%7B%0A%20%20%20%20%20%20constructor(name)%7B%0A%20%20%20%20%20%20%20%20this.name%20%3D%20name%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%40Observable%0A%20%20%20%20%20%20updater%0A%20%20%20%20%20%0A%20%20%20%20%20%20%40Observe(Actions.processSomething)%0A%20%20%20%20%20%20processHandler%20%3D%20function(data)%20%7B%20%0A%20%20%20%20%20%20%20%20this.updater.notify(this.name%20%2B%20%22%20processed%20%22%20%2B%20data)%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20var%20myStoreA%20%3D%20new%20Store(%22Store%20A%22)%3B%0A%20%20%20%20var%20myStoreB%20%3D%20new%20Store(%22Store%20B%22)%3B%0A%20%20%20%20%0A%20%20%20%20var%20print%20%3D%20function(result)%7B%0A%20%20%20%20%20%20console.log(result)%3B%0A%20%20%20%20%7D%0A%20%20%20%20myStoreA.updater.on(print)%0A%20%20%20%20myStoreB.updater.on(print)%0A%20%20%20%20Actions.processSomething.notify(%221010110%22)%0A%7D%0A%0A%0A%0A%0A%0A%0A%2F%2F%2FAll%20the%20magic%20happens%20down%20here%0Aclass%20ObservableClass%20%7B%0A%20%20subscriptions%20%3D%20%5B%5D%3B%0A%20%20%0A%20%20on%20%3D%20function(handler)%7B%0A%20%20%20%20this.subscriptions.push(handler)%0A%20%20%7D%0A%0A%20%20notify%20%3D%20function()%7B%0A%20%20%20%20var%20args%20%3D%20arguments%3B%0A%20%20%20%20for(var%20i%20%3D%200%20%3B%20i%20%3C%20this.subscriptions.length%3B%20i%2B%2B)%7B%0A%20%20%20%20%20%20this.subscriptions%5Bi%5D.apply(null%2Cargs)%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Afunction%20Observable(target%2Ckey%2Ce)%20%7B%0A%20%20%20%20e.initializer%20%3D%20function()%7B%20return%20new%20ObservableClass()%3B%20%7D%0A%7D%0A%0Afunction%20Singleton(target%2Ckey%2Ce)%20%7B%0A%20%20%20%20e.initializer%20%3D%20function()%7B%20return%20new%20target()%3B%20%7D%0A%7D%0A%0Afunction%20Observe(observable)%20%7B%0A%20%20%20%20return%20function(classType%2Ckey%2Cd)%20%7B%0A%20%20%20%20%20%20var%20tempInitializer%20%3D%20d.initializer%3B%0A%20%20%20%20%20%20var%20blah%20%3D%20%20function()%20%7B%7D%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20blah.initializer%20%3D%20function()%7B%0A%20%20%20%20%20%20%20%20%20%20var%20val%20%3D%20tempInitializer.apply(arguments)%3B%0A%20%20%20%20%20%20%20%20%20%20observable.on(val.bind(this))%0A%20%20%20%20%20%20%20%20%20%20return%20val%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20return%20blah%3B%0A%20%20%7D%0A%7D%0A%0Aexample()%3B 11 comments javascript
- Re-imagining Flux Action/Stores with ES6/ES7 http://babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&code=function%20example()%7B%0A%20%20%0A%20%20%20%20class%20Actions%20%7B%0A%20%20%20%20%20%20%40Observable%0A%20%20%20%20%20%20static%20processSomething%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20class%20Store%20%7B%0A%20%20%20%20%20%20constructor(name)%7B%0A%20%20%20%20%20%20%20%20this.name%20%3D%20name%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%40Observable%0A%20%20%20%20%20%20updater%0A%20%20%20%20%20%0A%20%20%20%20%20%20%40Observe(Actions.processSomething)%0A%20%20%20%20%20%20processHandler%20%3D%20function(data)%20%7B%20%0A%20%20%20%20%20%20%20%20this.updater.notify(this.name%20%2B%20%22%20processed%20%22%20%2B%20data)%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20%0A%20%20%20%20var%20myStoreA%20%3D%20new%20Store(%22Store%20A%22)%3B%0A%20%20%20%20var%20myStoreB%20%3D%20new%20Store(%22Store%20B%22)%3B%0A%20%20%20%20%0A%20%20%20%20var%20print%20%3D%20function(result)%7B%0A%20%20%20%20%20%20console.log(result)%3B%0A%20%20%20%20%7D%0A%20%20%20%20myStoreA.updater.on(print)%0A%20%20%20%20myStoreB.updater.on(print)%0A%20%20%20%20Actions.processSomething.notify(%221010110%22)%0A%7D%0A%0A%0A%0A%0A%0A%0A%2F%2F%2FAll%20the%20magic%20happens%20down%20here%0Aclass%20ObservableClass%20%7B%0A%20%20subscriptions%20%3D%20%5B%5D%3B%0A%20%20%0A%20%20on%20%3D%20function(handler)%7B%0A%20%20%20%20this.subscriptions.push(handler)%0A%20%20%7D%0A%0A%20%20notify%20%3D%20function()%7B%0A%20%20%20%20var%20args%20%3D%20arguments%3B%0A%20%20%20%20for(var%20i%20%3D%200%20%3B%20i%20%3C%20this.subscriptions.length%3B%20i%2B%2B)%7B%0A%20%20%20%20%20%20this.subscriptions%5Bi%5D.apply(null%2Cargs)%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A%0Afunction%20Observable(target%2Ckey%2Ce)%20%7B%0A%20%20%20%20e.initializer%20%3D%20function()%7B%20return%20new%20ObservableClass()%3B%20%7D%0A%7D%0A%0Afunction%20Singleton(target%2Ckey%2Ce)%20%7B%0A%20%20%20%20e.initializer%20%3D%20function()%7B%20return%20new%20target()%3B%20%7D%0A%7D%0A%0Afunction%20Observe(observable)%20%7B%0A%20%20%20%20return%20function(classType%2Ckey%2Cd)%20%7B%0A%20%20%20%20%20%20var%20tempInitializer%20%3D%20d.initializer%3B%0A%20%20%20%20%20%20var%20blah%20%3D%20%20function()%20%7B%7D%3B%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20blah.initializer%20%3D%20function()%7B%0A%20%20%20%20%20%20%20%20%20%20var%20val%20%3D%20tempInitializer.apply(arguments)%3B%0A%20%20%20%20%20%20%20%20%20%20observable.on(val.bind(this))%0A%20%20%20%20%20%20%20%20%20%20return%20val%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20return%20blah%3B%0A%20%20%7D%0A%7D%0A%0Aexample()%3B 4 comments angularjs
Linking pages
- GitHub - gaearon/react-makes-you-sad: Here’s a flowchart to make you happy again! https://github.com/gaearon/react-makes-you-sad/blob/master/README.md 235 comments
- My journey to becoming a web developer from scratch without a CS degree (and what I learned from it) | by Sergei Garcia | We’ve moved to freeCodeCamp.org/news | Medium https://medium.com/@sgarcia.dev/my-journey-to-becoming-a-web-developer-from-scratch-without-a-cs-degree-2-years-later-and-what-i-4a7fd2ff5503#.jeqi1mbg8 138 comments
- Top JavaScript Frameworks & Topics to Learn in 2017 | by Eric Elliott | JavaScript Scene | Medium https://medium.com/javascript-scene/top-javascript-frameworks-topics-to-learn-in-2017-700a397b711 126 comments
- Javascript Array.push is 945x faster than Array.concat 🤯🤔 - DEV Community 👩💻👨💻 https://dev.to/uilicious/javascript-array-push-is-945x-faster-than-array-concat-1oki 109 comments
- 5 JavaScript “Bad” Parts That Are Fixed In ES6 | by rajaraodv | We’ve moved to freeCodeCamp.org/news | Medium https://medium.com/@rajaraodv/5-javascript-bad-parts-that-are-fixed-in-es6-c7c45d44fd81#.yvk4uyyyk 92 comments
- ES6 is great, but use it cautiously | by Sergey Abakumoff | Medium https://medium.com/@sAbakumoff/es6-is-great-until-its-not-f398339d0af6#.6fdcsr17i 88 comments
- ES6 In Depth: Classes - Mozilla Hacks - the Web developer blog https://hacks.mozilla.org/2015/07/es6-in-depth-classes/ 85 comments
- Babel 7 Released · Babel https://babeljs.io/blog/2018/08/27/7.0.0 84 comments
- ECMAScript 6 (ES6): What’s New In The Next Version Of JavaScript — Smashing Magazine http://www.smashingmagazine.com/2015/10/es6-whats-new-next-version-javascript/ 60 comments
- JSX can do that?. First I’m going to explain how JSX… | by Rodrigo Pombo | Hexacta Engineering https://medium.com/@pomber/jsx-can-do-that-1b2666c23a32 58 comments
- Transpiled for-of Loops are Bad for the Client - daverupert.com http://daverupert.com/2017/10/for-of-loops-are-bad/ 55 comments
- Internals of async / await in JavaScript | Akash Hamirwasia https://akashhamirwasia.com/blog/internals-of-async-await-in-javascript/ 47 comments
- GitHub - tc39/proposal-bind-operator: This-Binding Syntax for ECMAScript https://github.com/tc39/proposal-bind-operator 46 comments
- Tutorial: Intro to React – React https://reactjs.org/tutorial/tutorial.html 41 comments
- Logical assignment operators in JavaScript - DEV Community 👩💻👨💻 https://dev.to/hemanth/logical-assignment-operators-in-javascript-inh 34 comments
- Add React to a Website – React https://reactjs.org/docs/add-react-to-a-website.html 33 comments
- GitHub - dexteryy/spellbook-of-modern-webdev: A Big Picture, Thesaurus, and Taxonomy of Modern JavaScript Web Development https://github.com/dexteryy/spellbook-of-modern-webdev 32 comments
- Bringing Modern JavaScript to Libraries - DEV Community 👩💻👨💻 https://dev.to/garylchew/bringing-modern-javascript-to-libraries-432c 29 comments
- JavaScript is evolving · FINN Technology http://tech.finn.no/2015/02/26/javascript-is-evolving/ 29 comments
- Arrow Function Syntax – Hugh FD Jackson https://hughfdjackson.com/javascript/arrow-function-syntax/ 29 comments
Would you like to stay up to date with Web Development? Checkout Web Development
Weekly.
Related searches:
Search whole site: site:babeljs.io
Search title: Babel · The compiler for next generation JavaScript
See how to search.