Open your terminal and run the following command
$ git clone https://github.com/dmscn/github-api-consumer.git && cd github-api-consumer
Run yarn
to download the packages.
Starts the application in development mode
Open http://localhost:3000 to view it in the browser
Starts the Styleguidist server on your machine
Open http://localhost:6006 to view it in the browser
Launches the test runner in the interactive watch mode
Formats and Lint the application code
Usado para "resgatar" somente as propiedades que me interessam de determinado objeto e salva-las em uma variavel de mesmo nome
Diferente de uma
function
normal no JavaScript as Arrow Functions permitem compartilhar o escopo (this
) com seu parent.