Blog

Blog's main page
Page 1/2 | Articles: 10 | All languages
EN
Picture of the article: Sorting arrays of objects in JavaScript

Sorting arrays of objects in JavaScript

Learn how to sort arrays of objects in JavaScript using modern techniques like toSorted(), localeCompare(), and custom compare functions. This quick guide covers string sorting, multi-property sorting, descending order, and date sorting with practical TypeScript examples.

FR
Picture of the article: Seal Wars, 25 ans sur la ligne de front - Paul Watson

Seal Wars, 25 ans sur la ligne de front - Paul Watson

Retour sur Seal Wars de Paul Watson, entre récit militant et critique des institutions face à la chasse aux phoques. Un témoignage fort sur l’action directe, l’engagement écologique et le rôle de chacun dans la protection du vivant

EN
Picture of the article: React compound components: Scalable and reusable

React compound components: Scalable and reusable

The compound component pattern is a powerful way to build flexible and reusable React components. Instead of overloading props, you split responsibilities into smaller subcomponents, offering a clean API and better scalability. Learn how to implement it with a practical UserCard example.