You are here |
nalanj.dev | ||
| | | |
szymonkrajewski.pl
|
|
| | | | ECMAScript 6 has an amazing feature called Arrow Function. It allows writing a function expression faster and smarter than traditional way (using functionkeyword). Worth to know, it's not a one to one replacement for standard functions. | |
| | | |
ricardo.cc
|
|
| | | | Stories about code, design, coffee and other good stuff. | |
| | | |
www.binovarghese.com
|
|
| | | | A higher order function is a function that takes one or more functions as arguments, or returns a function as its result. | |
| | | |
krasimirtsonev.com
|
|
| | Replacing code for production with Babel transformation / If you are building some sort of an app, Babel is probably part of your build system. It is that thing which converts our fancy code to valid, working in a browser, JavaScript. Just recently at work I had to design a solution that swaps a class based on the environment. Or in another words, we have logic that should not reach our users. The file should be available locally and on our staging environment but not in production. A tiny Babel plugin was the cheapest solution for me so I decided to share the result. |