Are you using semicolons in JS/TS? Maybe is time to remove themI have been using standardjs (and standardts) for 5 years as lint ruleset in my projects, and I am …Read more
Detecting circular dependencies in Javascript projectsCircular imports (or circular dependencies, or cycle dependencies, but not the same as circular …Read more
A real case: why hexagonal architecture, decoupling, and Dependency injection can be very useful in the frontendHexagonal architecture is a software design pattern based on the separation of responsibilities. The …Read more
Typescript enums: Replacing them with const and union typesLast year I wrote a post about the typescript enums: how to use them, some of the disadvantages, how …Read more
The advantage of using cache to decouple the frontend codeWe can agree decoupling is a good practice that simplifies the code and the maintainability of the …Read more
Typescript tips for legacy projects: Type only you needWhen you introduce Typescript in a legacy project, or you are using a library that doesn’t …Read more
Typescript enums, const enums and readonly mapsEnum basics Enums is one of the nice things Typescript bring to the Javascript development’s …Read more
Typescript typing challenges and type utilitiesRecently I was looking for more knowledge about Typescript typing, how to create more advanced and …Read more
Typescript type narrowing, type guards and type predicates ([var] is [type])One useful feature in Typescript is union types, for example string | number | null, it’s a …Read more
Tips using Typescript and VueTypescript is a great “language”, makes it possible to create more maintainable and …Read more