Fatemeh MarzoughiBuilder Design PatternI’ve explored various resources on design patterns, but none of them provided a concrete example of when a JavaScript/TypeScript front-end…Oct 1, 2023Oct 1, 2023
Fatemeh MarzoughiWhen to mock and when don’tIn this article, I’m gonna talk about that when to mock functions or classes, etc, and when not to do so. I’m gonna use jest for the test…Jul 5, 2023Jul 5, 2023
Fatemeh MarzoughiFactory Design PatternIn this article, I wanted to simplify the factory design pattern using TypeScript.Jul 5, 2023Jul 5, 2023