Nhan NguyenImprove Angular Signals performance with untracked functionAngular Signals are available for developers from Angular v16.21h ago21h ago
Nhan NguyenJavaScript Design Patterns — Behavioral — MementoThe memento pattern allows capture and externalizes an object’s internal state so that the object can be restored to this state later.Jul 19Jul 19
Nhan NguyenJavaScript Design Patterns — Behavioral — MediatorThe Mediator pattern allows us to reduce chaotic dependencies between objects by defining an object that encapsulates how a set of objects…Jul 10Jul 10
Nhan NguyenJavaScript 𝗠𝗶𝗰𝗿𝗼𝘁𝗮𝘀𝗸 𝗤𝘂𝗲𝘂𝗲 and 𝗠𝗮𝗰𝗿𝗼𝘁𝗮𝘀𝗸 𝗤𝘂𝗲𝘂𝗲JavaScript has two secret queues to handle tasks: 𝗠𝗶𝗰𝗿𝗼𝘁𝗮𝘀𝗸 𝗤𝘂𝗲𝘂𝗲 and 𝗠𝗮𝗰𝗿𝗼𝘁𝗮𝘀𝗸 𝗤𝘂𝗲𝘂𝗲.Jun 29Jun 29
Nhan NguyenSimple Angular Log ServiceLogging is an essential part of any software development process.Jun 29Jun 29
Nhan NguyenTypeScript What ‘string & {}’ mean meaning?Give an example, we define a Color type:Jun 26Jun 26
Nhan NguyenJavaScript Design Patterns — Behavioral — IteratorThe iterator pattern allows us access to the elements in a collection without exposing its underlying representation.Jun 10Jun 10
Nhan NguyenJavaScript Design Patterns — Behavioral — CommandThe command pattern allows the encapsulation of a request as an object. This transformation lets you pass requests as method arguments…Jun 6Jun 6
Nhan NguyenAngular v18 route’s redirectTo property can be a functionIn 🅰️ Angular v18, a route’s redirectTo property can be a function that returns a string or UrlTree.Jun 3Jun 3