Velocidad de Escape

Never use the index for the key in React

Yesterday I was involved in a small discussion about a <a class="hover:no-underline text-blue underline" href="https://twitter.com/joshmedeski/status/1768346029273850143" target="\_blank" rel="noreferrer">Tweet</a>, which said something like: > PSA: never use the index for the key in @reactjs 🔑 #webdev #development #react I have seen that this error is more common and recurring than we would like, so I am going to try to briefly explain why we should **NOT** use index (or anything related) as keys in React. - **Stability**: The index of an item in a list can change if items are added,...

React

Decoding Big O Notation: A Clear Guide to Algorithm Efficiency

The majority of individuals I've worked with throughout my career tend to pay little attention to performance; their main concern is completing tasks. Unfortunately, many do not take the time to measure or even minimally assess the impact of the code they've just delivered. This guide not only explains **Big O Notation** in simple terms but also sheds light on the crucial aspect of why understanding and optimizing code performance can lead to more efficient and impactful software development. In simple terms, Big O Notation is a way of expressing how the performance of an algorithm scales...

CS

Navigating Data Streams: An Exploration of JavaScript Iterators and Generators

In the vast landscape of JavaScript, efficient data handling is crucial, and two key players stand out: Iterators and Generators. These features empower developers to navigate and manipulate data in unique ways, offering enhanced control and flexibility in the iterative process. **Iterators** serve as trusty guides, enabling the sequential traversal of collections or structures. With the Iterator Protocol at their core, these objects provide a standardized approach to accessing elements one at a time. From arrays to custom data structures, iterators lay the groundwork for orderly...

JavaScript

Epoch of Innovation: The Timeless Legacy of Unix in Computing History

The Unix timestamp began with 17 this Tuesday 14 November 2023 10:13:20 PM UTC. ```console date -ur 1700000000 ``` In the enchanted dawn of computing, Unix's birth heralded an epic of innovation. From the mystical forge of Bell Labs, Ken Thompson and Dennis Ritchie conjured an operating system destined to revolutionize the digital cosmos. Amidst this enchantment, a cosmic quandary beckoned: timekeeping. In 1970, a celestial decree marked January 1 as the epoch—the genesis of Unix time. This seemingly whimsical date, chosen for its magical simplicity, laid the groundwork for a universal...

JavaScript