Saulo Dias

Saulo Dias @saulodias

About: Software Developer graduated in Automation and Control Engineering trying way too hard to become a brogrammer.

Location:
Rio de Janeiro, Brazil
Joined:
Apr 29, 2021

Saulo Dias
articles - 31 total

How to Use Dependency Injection in C# Extension Methods

Have you ever wanted to use services from your dependency injection (DI) container inside a C#...

Learn More 2 1Jun 17

Browser Storage and BehaviorSubject: Achieving Consistent State in Angular Through Storage Decorators

Managing data persistence in Angular applications can be a hassle, especially when you need to keep...

Learn More 2 0Jun 18 '24

Understanding TypeScript Method Decorators

TypeScript provides decorators as a way to modify classes, methods, accessors, properties, or...

Learn More 6 0Apr 25 '24

Elevating Data Integrity in Your React Application with Converters in Storage Management

Greetings, fellow developers! Today, let's delve into the realm of storage management in React...

Learn More 0 0Feb 19 '24

Leveraging ES2023 Array Methods in TypeScript for React

Hey Dev.to community! Excited about the new array methods in ES2023? Here's a quick guide on using...

Learn More 1 0Nov 14 '23

ApexCharts: The underrated charts library

ApexCharts is a library that hardly ever appears in "The Top 10 Chart Libraries" posts. I like it...

Learn More 0 0Jun 6 '23

Prova de Conceito: Geolocalização Econômica para Identificação da Cidade do Usuário

Apresento uma prova de conceito de uma solução econômica para identificar a cidade do usuário com...

Learn More 0 0May 19 '23

Introducing the CV Schema Proposal: A More Streamlined Approach to Applicant Information

Are you looking for a more efficient and organized way to handle applicant information? The CV Schema...

Learn More 1 0Apr 11 '23

Never Overlook Equality Verification

When building an application, it's important to design it with equality verification in mind from the...

Learn More 1 0Mar 31 '23

Using Axios more elegantly with Interceptors and Array of URLs

Axios is a popular library for making HTTP requests in JavaScript. It provides a simple and intuitive...

Learn More 3 0Mar 13 '23

I got help from ChatGPT to integrate Alexa Skill in a mini marathon

Ash Wednesday, 10:12 PM: — "Do you think I can integrate ChatGPT with Alexa by midnight?" I asked. —...

Learn More 0 0Feb 24 '23

Generating Valid Code 128 Barcodes with Javascript

To generate a valid Code 128 barcode you need to follow some rules. It must contain a start...

Learn More 20 9Sep 27 '22

Ionicons Font v5.5.2

Since the current Ionicons font in the official repository is missing a lot of icons I have compiled...

Learn More 9 0Jul 12 '22

Convert SVGs from Stroke to Path

I had to convert more than one thousand SVG files from stroke to path. That's because IcoMoon.io...

Learn More 17 4Jul 12 '22

React hooks: useSessionStorage and useLocalStorage

I needed a simple way to use the sessionStorage and localStorage with React, and one of the...

Learn More 19 3Jul 1 '22

How to Bind to a DataTemplate in UWP

First and foremost, you can't bind to the outside context of a DataTemplate when using x:Bind, even...

Learn More 9 1May 19 '22

Dev.to Translation and Localization

Let's be honest, dev.to provides us with a great experience. This site allows us to reach an audience...

Learn More 1 3May 10 '22

You Can Probably Delete Half of Your Codebase

How many times have you replaced a piece of code by something else and just left the old code there...

Learn More 2 0Nov 19 '21

Time complexity of two by two comparison

You have probably been faced with a very simple and common problem: comparing unique elements in a...

Learn More 3 0Nov 16 '21

JavaScript: Timing the execution of a piece of code

One of the simplest ways to have a rough idea of how long a piece of code is taking to execute is by...

Learn More 6 0Nov 5 '21

Angular: The power of Async Pipe + Observables.

One of the most powerful features when creating Angular components is the Async Pipe. The greatest...

Learn More 6 0Oct 29 '21

Naming Patterns Matter

One of the things no programming course explicitly teaches about is naming patterns. This happens...

Learn More 5 0Oct 20 '21

String Patterns in TypeScript

While we wait for a regex type in TypeScript, starting on TypeScript 4.1 we can make use of a very...

Learn More 5 0Sep 28 '21

Adding Global CSS to an Angular Library Storybook

This tutorial assumes you have configured an Angular Library + Storybook following this post. Most...

Learn More 6 1Sep 19 '21

Angular Library + Storybook

Storybook is a tool that allows you to easily create and document UI components. It works with...

Learn More 23 2Sep 19 '21

Working with ng-content on Storybook

Very often when creating a new story for an Angular component on Storybook you might need to insert...

Learn More 9 4Sep 7 '21

Create an Array with the Keys of an Interface

The keyof Type operator is a pretty straight forward to to so. It kind of like does to an interface...

Learn More 1 0Jul 31 '21

Ternary Operator: Better Alternatives

The ternary operator is a nice way to write concise value assignments without having to write a more...

Learn More 61 4Jul 1 '21

A safer alternative to 'any' in TypeScript

We've all been there. For some reason we are not really sure what type of object to expect from an...

Learn More 5 0May 29 '21

Setting up ESLint + Prettier

Disclaimer: This is not intended as a step-by-step tutorial. It's just a suggestion of...

Learn More 5 0May 25 '21