Nhan NguyenTypeScript What ‘string & {}’ mean meaning?Give an example, we define a Color type:2d ago2d ago
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
Nhan NguyenAngular’s next feature “@let” syntaxWe can check the pull request here: https://github.com/angular/angular/pull/55848May 31May 31
Nhan NguyenJavaScript Design Patterns — Behavioral — Chain of ResponsibilityThe chain of responsibility pattern allows passing requests along a chain of objects that have a chance to handle the request.May 20May 20
Nhan NguyenJavaScript Design Patterns — Structural — ProxyProxy is a structural design pattern that lets us provide a substitute or placeholder for another object.May 16May 16
Nhan NguyenJavaScript Design Patterns — Structural — FacadeThe facade pattern provides a simplified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that…May 10May 10
Nhan NguyenNaming ConventionsLet’s embark on a journey to explore where to employ conventions effectively:May 9May 9