Sugar syntax in TS/JS: sweetening your code 🍨

In the vast realm of programming languages, syntax dictates the structure and clarity of your code. While both TypeScript and JavaScript offer various syntactic constructs, “sugar syntax” refers to concise shortcuts that improve readability and maintainability. This article explores the key sugar syntax elements in these languages, equipping you to […]

Read More…

Array functions in Javascript ES6

Let’s look at array functions today. One of the best features that the new javascript offers is the ability to work on lists of data in a few lines of code. We have them all, from mapping to searching or data aggregation. Many of the functions used, in addition to […]

Read More…

SCSS/SASS include in Nuxt project

Sass include in Nuxt project.

Simple css styles are no longer enough when it comes to more complex projects.The linearity of the css is an obstacle compared to more complex structures, such as those provided for the compiled SCSS/SASS styles. To include custom scss in your project we can install sass-loader. The version of sass-loader needs to […]

Read More…

Javascript custom array sorting functions

One of the most useful features that many languages offer is the possibility of sorting arrays and lists of elements in the most disparate ways. Let’s create our array sorting functions.Unlike more typed languages, in the case of Javascript arrays can have profoundly different types of elements, including primitives and […]

Read More…

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…