Blog & Articles

📚 I try to write articles that dymestify parts of code that people use but do not understand

Flux Architecture Demystified

Redux and NGRX Aren't That Hard

My goal in this article is to show how simple this architecture can be, and how in less than 40 lines of code we can make such an architecture work.

Demystifying the Angular Router

It's simpler than you think

Angular routing may seem like a mysterious black box, but actually, it's simple. It listens to URL changes to render the correct component and changes the URL when navigation occurs. That's about it.

Object Mutation vs TypeScript

Why You Should Avoid Object Mutation

We use TypeScript to make assumptions on what a variable contains and when a code is well-typed we trust it blindly, as we are supposed to. But there is a trap.

Suggestion for enums

Something needs to be done

enums are useful, it's a way to accept only certain values. But their behavior at runtime is unpredictable. This article suggests a way to make them safer.