Skip to content

Instantly share code, notes, and snippets.

@bogdan-h
bogdan-h / README.md
Created August 17, 2018 20:36 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@bogdan-h
bogdan-h / .eslintrc.js
Created February 26, 2018 18:00 — forked from nkbt/.eslintrc.js
Strict ESLint config for React, ES6 (based on Airbnb Code style)
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": ["react"],
"ecmaFeatures": {
@bogdan-h
bogdan-h / promises.md
Created July 10, 2017 17:04 — forked from domenic/promises.md
You're Missing the Point of Promises

This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.

You're Missing the Point of Promises

Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:

getTweetsFor("domenic", function (err, results) {
 // the rest of your code goes here.