Typescript Component decorator (like Angular)

Typescript @Component decorator to Vue.js

Let’s first see what might be the reasons for wanting to include a Typescript Component decorator.In case you want to create a FE application developed in Typescript, often one of the main reasons is the fact that you come from applications in Angular, one of the most used frameworks when […]

Read More…

Nuxt typescript translate system

Nuxt translate system.

Often a multi-language application can be needed to be able to speak to a wider audience of people and we can use Nuxt translate system for it. It can always be useful to localize your application according to who you want to talk to, while still being able to read […]

Read More…

Modal with generic content in Angular app

Angular add a modal with generic content

Today we will see a way to add a modal with generic content in Angular, for web sites with many lists of resources, often even very complex.We can handle it like another “page” in router, allowing every content we need in it. This approach can be useful in cases where, […]

Read More…

ES6 Javascript Arrow functions

ES6 Arrow functions

Arrow functions are a new ES6 Javascript feature to write more readable and shorter code, with the same results. It came with another new feature like the “let/const” renaming from the ES5 “var”. It may seem very similar to the anonymous functions of ES5 but with some small differences. A […]

Read More…

Angular Adapter pattern

Angular Adapter pattern

Let’s see an Angular version of the Adapter pattern.Mapping allow us to decrease coupling between what arrives from a remote BE on our FE. We can take advantage of one of the Gang of Four’s design patterns (the Adapter pattern) to transform the external response in what we want. Adapter […]

Read More…