Generics in typescript

May 08, 2020

If you worked with typescript you may have heard about generics, which may be used in types like array or promises. But, did you ever…

Interfaces in typescript

May 04, 2020

The interface is a great Typescript feature and helps to write clearly structured and explicit code. The interface helps you to describe a…

Abstract Classes in Typescript?

April 27, 2020

In Typescript the classes can inherit from another class for share methods and properties between classes also Typescript support abstract…

Getter and Setter with Typescript

April 26, 2020

Typescript allow defining properties in our classes using getters and setters, it helps to have more control for public fields. If you comes…

The Typescript compiler and tsconfig

April 11, 2020

I want to show a small overview about the typescript compiler, the tsc is responsable to compile our typescript code, watch changes, code…

The functions in Typescript

April 06, 2020

The Typescript language by default inferred into the functions return type. That’s means if the return is a boolean, the return type will be…

Using Typescript types

March 31, 2020

Typescript comes with his own types and each one is part of typescript, not javascript. Typescript will provide these types as part of our…

Typescript and primitive Types

March 21, 2020

I am starting to move to Typescript. I discover how it works and different ways to use them with Typescript. Typescript is a superset…

Get start with Typescript and Parcel

March 17, 2020

Typescript is a technology that grows every day. Companies like Slack, Airbnb or Google are changing their javascript codebase to Typescript…

Add Routing into a existing Vue App

March 14, 2020

I build a small app and using was ok to handle each use situation, but now I need to add routing to my existing app, then let’s go. Install…

How to run multiple npm scripts

February 19, 2020

Today I have to need to run the fake API at the same time my vue app runs, the API was using json-server. I don’t like to execute the…

My Top 5 Vue Ecosystem plugins

February 15, 2020

If you have been working with Angular and React, each one of them has a lot of tools ready to help when you pick one of them to build…

From Vue to Svelte Syntax

January 04, 2020

I’m building a small app with Svelte,  my last 2 years I was coding with Vue, so I found small differences with Vue,  let me explain a bit…

Hello Sveltejs

December 29, 2019

I’m using Vue for more than 2 years and a half, Vue is a great framework, but the world change and Svelte rise as a good contender to in the…

Static Class and Extends methods in C#

December 06, 2019

The static keyword is very useful in c#  when we need to use class, method or property without creating an object instance is very common…

Install Git on Ubuntu

November 23, 2019

Git is the standard source control, to install Git from the terminal run. Enjoy!

Albert the Spotlight for Linux

November 22, 2019

I’m back to use Linux as default desktop OS, I was using macOS for more than 5 years, but if I want the same workflow like macOS that means…

Object Initialization and Constructor

October 09, 2019

When we have few fields in a class and want to initialize every field in a constructor it should become a little bit messy and maybe we need…

Code coverage in 2 minutes with NYC

August 28, 2019

In my previous posts about testing, I don’t have a clear picture of how much of my code is protected with tests? NYC comes to help me know…

How to Test javascript from 0 to Mocha

August 28, 2019

I’m trying to learn to test in javascript, today we have few ways to test our code write plain test code or using mocha, jest or cypress…

Testing promises with Mocha.

August 28, 2019

In my post about testing with Mocha, I forget a common task in every javascript developer, “the promises”, it is a common task for making…

React Router in 3 minutes

May 06, 2019

Implement routing into a React app is so easy, the first step is to install react-router -dom package. npm i react-router-dom In the App.js…

Graphql and Gatsby part 2

February 25, 2019

I found that Gatsby uses GraphQL for sending data through to components, that means that understanding how GraphQL works in Gatsby is a must…

Starting with Gatsby part1

February 01, 2019

Gatsby as a React GraphQL and static site generator with easy development and amazing fast finish product that allows delivering faster…

Vue Router in 3 Minutes

January 04, 2019

The router is one of the important topics when we build single-page applications with Vue, there are a few things that I wish to know to…

How to create a custom Vue directive

November 26, 2018

Vue allows create custom directives, modify our HTML elements and behavior, you can recognize easy because the first letter is v- like v…

Working with v-model and forms

November 23, 2018

Vue allows design and manipulates forms elements fast and easy, this is the list of the most common task when we work with HTML forms…

HTTP errors with Element UI and Axios.

October 28, 2018

Sometimes I want to find an easy way to handle HTTP errors. Using Axios interceptors, we handle requests and responses before the then or…

Create your REST API with Express (3/3)

October 14, 2018

You are reading the third part of Create Rest API with Express, feel free to read Part 1 and Part 2 In this part, I will send a request to…

Create your REST API with Express 1/2

October 13, 2018

You are reading the second part of Create Rest API with Express, feel free to read the Part 1 for continue, in this case, I will build a…

Create your REST API with Express part 1

October 08, 2018

Today I wanted to create my own REST API using express, some friends told me about Express is allow create stateless APIS quick and easy and…

How to React Type checking

September 22, 2018

The components in React allow receive data using Props, the props aren’t is strict, that’s mean you can send any type of value, or forget to…

Using Vue filters with MomentJS

May 22, 2018

MomentJS is a library that I love to manage the dates and you can put to work with #Vue using the filters, I will explain how to combine…

Validate HTML Forms with VeeValidate

December 22, 2017

VeeValidate is a plugin for #Vue that allows you to validate the HTML elements and show errors in an easy way, only adding the v-validate…

How to create your own typings ?

April 20, 2017

If there is one thing I have to admit it is that Typescript allows us to feel in control in javascript and that is also thanks to the…