Articles
Latest article
2 minutes read
Why you should call the function in useState
Get rid of unnecessary, expensive function calls with lazy initialization.
Previous articles
3 minutes read
Comparing satisfies operator with type assertions
Using type assertions and satisfies in TypeScript. What are the differences and how to type objects correctly to avoid errors.
(update: )
7 minutes read
Strategy Design Pattern
The Strategy pattern change the behavior of an object without modifying the code. It relies on defining a set of algorithms that can be swapped at runtime.
4 minutes read
Adapter Design Pattern
The Adapter pattern creates a class, covering part of the code with an additional abstraction, providing a versatile interface.