SERGIO TOMASBack to portfolio

Language · Language

JavaScript

The language I have written every single year since 2012.

Used at
  • Stellar Gaming
  • DOMVS iT
  • Claro
  • Resource IT
  • Tugarê
  • Marvin
01Overview

JavaScript is the runtime language of the web and, through Node.js, of the server. I use it from interactive iPad presentations to micro-frontend platforms and APIs — and I care about writing it in a way that teams can read, test and evolve.

02Key concepts

What anyone working with it needs to understand

  1. 01

    Event loop & async

    How the call stack, task queues and microtasks interact — the base for Promises, async/await and non-blocking I/O.

  2. 02

    Closures & scope

    Lexical scope, closures and this binding — what makes modules, hooks and callbacks work.

  3. 03

    Prototypes & classes

    Prototype chain, class syntax as sugar, composition over inheritance.

  4. 04

    Modules

    ES modules, bundling, tree-shaking and code splitting for fast-loading apps.

  5. 05

    Immutability

    Spread, structural sharing and pure functions — essential for predictable state in React and Redux.

  6. 06

    Performance

    Avoiding layout thrashing, debouncing, memoization and profiling in DevTools.

03In practice
Core language across my whole career: Zepto.js presentations at Marvin and Tugarê, Angular apps at Resource IT, Vue and React at Claro, Next.js at DOMVS iT and full products at Stellar Gaming.