Skip to content

Instantly share code, notes, and snippets.

View bbbbruni's full-sized avatar
🏠
Working from home

Bruno Almeida bbbbruni

🏠
Working from home
View GitHub Profile
{"lastUpload":"2019-11-28T18:26:32.979Z","extensionVersion":"v3.4.3"}

💡 TDD

TDD Simple Flux

Thinking tests

  • What does the code need to do?
  • Which type of data my method/code receive? (String, Number, Array ...)
  • Which type of data method/code returns?
  • Which action trigger my method/code?
@bbbbruni
bbbbruni / es7-8-features.md
Last active July 16, 2018 00:30
ES7/8 features

Async / Await

  • Only works with promise protocol;
  • async is only called at the beggining of a function;
  • await can be used only with an async function;
  • await is used to tell the function to wait until resolve of a promise;

🚀 Advantages:

  • Better code readability;
@bbbbruni
bbbbruni / es6-features.md
Last active July 18, 2018 19:17
List of some ES6 Features

Let and Const

Scoped

function foo() {
  let number = 10;
  
 console.log(number); // --> 10
@bbbbruni
bbbbruni / webpack-config-description.md
Created July 10, 2018 23:45
Webpack configuration info

Soon.

@bbbbruni
bbbbruni / configs.md
Last active June 18, 2018 21:36
setups

YADR

https://github.com/skwp/dotfiles

sh -c "`curl -fsSL https://raw.githubusercontent.com/skwp/dotfiles/master/install.sh`"

VS CODE

(EditorConfig for VS Code, ESLint, Vetur, Sublime Text KeyMap, Monokai Pro)