Skip to content

Asynchronous and reactive programming (Promises, RxJS)

Matěj Chalk edited this page Jul 30, 2020 · 1 revision

Client-side programming is asynchronous by nature, as changes to UI state are prompted by user events, network responses, etc. The most common ways of handling events are:

  • callback functions (used to be the only way, e.g. via addEventListener),
  • Promises (now built into ECMAScript, including async/await syntax),
  • Observable pattern (more expressive, currently reliant on 3rd party implementations, e.g. RxJS).

Promises

📖 Documentation

RxJS

📖 Documentation

🎥 Courses

💬 Talks

🔨 Workshops

Clone this wiki locally