Michael Karén's Blog

HomeBadges

Maintaining Multi-language Angular Applications with i18n

Apr 10, 202122 min read

Angular i18n and the localizing of applications had an overhaul with version 9, enabled by the new rendering engine Ivy. In this article, we take a closer look at how this built-in package of Angular now works, while pointing out the benefits and dra...

How to Save High Scores in Local Storage

Jan 11, 20215 min read

After creating a game, it would be nice to save our best scores. If we only save the score in memory it will be gone the next time we play. Instead, we can save the scores in the browser’s local storage. This article steps through how to save high sc...

Getting Started with Modern JavaScript — Spread vs Rest

Sep 22, 20207 min read

JavaScript version ES6 (ES2015) brought us a couple of useful features for arrays represented by three dots (…), the rest parameter, and the spread operator. And ES2018 introduced the same syntax for objects. It can be confusing to have one syntax re...

Getting Started with Modern JavaScript — Template Literals

Sep 14, 20205 min read

Introduced in 2015 with ECMAScript6, template literals let us dynamically construct strings of text and embedded expressions, even multi-line strings of text, in a more elegant way than concatenation. The syntax is not much different from the old one...

Getting Started with Modern JavaScript — Proxy

Sep 8, 20205 min read

JavaScript proxies were introduced in 2015 with ECMAScript 6. They allow us to intercept and override operations such as object property lookup and assignment. A Proxy object wraps another object and acts as a middleman. Syntax A proxy is created us...

Getting Started with Modern JavaScript — Destructuring

Sep 3, 20206 min read

The two most used data structures in JavaScript are Object and Array. The destructuring assignment introduced in ECMAScript 2015 is a shorthand syntax that allows us to extract array values or object properties into variables. In this article, we go ...

© 2021 Michael Karén's Blog

PrivacyTerms
Proudly part of