Velocidad de Escape

Redux VS Redux Toolkit

I've been working with Vue and Vuex for over 16 months, but React has always been the library of my loves, so I decided to start a short project with React, Redux and TypeScript to refresh my knowledge. _I have never been in favor of using TS on the frontend, it seems unnecessary to me, but hey, it is the subject of another conversation._ I decided to create my project using _Create React App_ using the Redux-TypeScript template, but I came across unexpected news; Redux has changed dramatically since I last used it. I had to start reading the official documentation again, luckily I came...

React

Fluent Interfaces in JavaScript

A couple of days ago, I had a technical interview and one of the exercises was OOP and **Fluent Interface**, I had seen its use a couple of times, but I had never had to develop anything similar. ## Fluent Interface The Fluent Interface is often referred to as *Method Chaining*, *Fluent API* or *jQuery Style*. A fluent interface is an object-oriented API whose design relies extensively on method chaining. Its goal is to increase code legibility by creating a domain-specific language (DSL). The term was coined in 2005 by Eric Evans and Martin Fowler <sup>[1]</sup>. If you ever worked with...

JavaScript

Javascript Proxy, a gentle introduction

A couple of months ago I was asking to my colleagues if they knew what JavaScript Proxies were for, I think that none had used it yet, so I decided to read a little more about its use. Proxy object was a new feature that was introduced in ES6. **They allow you to intercept and customize operations performed on objects. E.g., function invocation, assignment, property lookup, enumeration, etc. We use proxies for blocking direct access to the target function or object.** JavaScript Proxy is too powerful a tool, which if used correctly could bring us a lot of excellent benefits. ## Simple...

JavaScript

How to update your Github Profile README automatically using NodeJS

GitHub’s new profile page README feature was release a couple of weeks ago, and it's a great feature that allows you to personalize your profile in multiple ways, some quite creative. Markdown lends itself best to standard static text content, that's not a problem for creative people, like **Victoria Drake**, who automate her profile using GO, and this post is inspired by her post. <a class="hover:no-underline text-blue underline" href="https://victoria.dev/blog/go-automate-your-github-profile-readme/" target="_blank" rel="noreferrer">How to Automate Your GitHub Profile README</a>. However,...

JavaScript