
JavaScript Event loop: microtasks and macrotasks
Browser JavaScript execution flow, as well as in Node.js, is based on an event loop. Understanding how event loop works is important for optimizations, and sometimes […]
Browser JavaScript execution flow, as well as in Node.js, is based on an event loop. Understanding how event loop works is important for optimizations, and sometimes […]
The submit event triggers when the form is submitted, it is usually used to validate the form before sending it to the server or to abort the […]
1. Overview Capturing and bubbling allow us to implement one of most powerful event handling patterns calledĀ event delegation. The idea is that if we have […]