Certificates.dev Blog

Discover the latest Certificates tips & tricks, industry news, and best practices

Anti-pattern series: Not unsubscribing from Observables

Anti-pattern series: Not unsubscribing from Observables

This article explains how Angular 16 improves observable cleanup using takeUntilDestroyed and recommends applying it in services rather than components, so all subscribers are automatically protected from memory leaks.

Alain Chautard

Alain Chautard

Jan 15, 2026

JavaScript Isn’t Slow. You’re Just Using It Wrong.

JavaScript Isn’t Slow. You’re Just Using It Wrong.

JavaScript is not inherently slow. Poor architectural choices are. Here’s how modern JavaScript actually performs, and where developers really lose speed.

Martin Ferret

Martin Ferret

Jan 6, 2026

How to animate transitions with Angular?

How to animate transitions with Angular?

Angular 20.2 introduces a delightfully simple way to animate elements as they enter and leave the screen. With zero imports and CSS doing all the heavy lifting, the new animate.enter and animate.leave attributes let you add smooth, modern transitions with minimal code and maximum sanity.

Alain Chautard

Alain Chautard

Dec 26, 2025

Understanding try...catch in JavaScript: How to Handle Errors Properly

Understanding try...catch in JavaScript: How to Handle Errors Properly

Learn how JavaScript errors work and how to prevent your app from crashing using try...catch. Includes simple examples, async caveats, custom errors, JSON parsing, and best practices for writing robust, user-friendly code.

Martin Ferret

Martin Ferret

Dec 21, 2025

Dynamic component creation with Angular

Dynamic component creation with Angular

The article explains how to create and control Angular components dynamically at runtime, rather than relying on static components that are toggled visible/hidden in the DOM.

Alain Chautard

Alain Chautard

Dec 18, 2025

The 8 JavaScript Errors Every Developer Should Understand

The 8 JavaScript Errors Every Developer Should Understand

Understanding JavaScript errors is essential for debugging efficiently. Discover the 8 native error types with clear explanations and practical examples.

Martin Ferret

Martin Ferret

Dec 5, 2025

Angular 21 is available!

Angular 21 is available!

Angular 21 has been released, and I’m going to divide the new features into different categories, since a lot of the new features are experimental and not recommended for production use yet.

Alain Chautard

Alain Chautard

Nov 27, 2025

Inside the JavaScript Event Loop: How the Runtime Actually Works

Inside the JavaScript Event Loop: How the Runtime Actually Works

Understand the JavaScript event loop in depth. Learn how the call stack, microtasks, and macrotasks work together to handle asynchronous code efficiently, keeping your applications fast, predictable, and responsive.

Martin Ferret

Martin Ferret

Nov 18, 2025

Document Fragments: The Secret to Fast, Clean DOM Manipulation in JavaScript

Document Fragments: The Secret to Fast, Clean DOM Manipulation in JavaScript

Discover how DocumentFragment can dramatically speed up DOM manipulation in JavaScript. Learn how to batch element creation in memory, avoid reflows, and build smoother, faster interfaces with clean, efficient code.

Martin Ferret

Martin Ferret

Nov 6, 2025