HemersonCarlin
BlogUses
  • Code Snippets - Generate a random number between two numbers in JavaScript

    Code Snippets - Generate a random number between two numbers in JavaScript

    Series of small code snippets I eventually use when working in some of my projects. And today's code snippet is about how to generate a random number between two numbers in JavaScript.

    February 18, 2022

  • Code Snippets - Sort array of objects by a property in JavaScript

    Code Snippets - Sort array of objects by a property in JavaScript

    Series of small code snippets I eventually use when working in some of my projects. And today's code snippet is about how to sort an array of objects by a property in JavaScript.

    May 25, 2021

  • Pub-Sub in a React Application

    Pub-Sub in a React Application

    I implemented the Pub-Sub pattern in a React application and I'm going to walk you through my learnings.

    April 6, 2021

  • Code Snippets - Unique array in JavaScript

    Code Snippets - Unique array in JavaScript

    Series of small code snippets I eventually use when working in some of my projects. And today's code snippet is about how get unique values from an array in JavaScript.

    March 22, 2021

  • Code Snippets - Pre-populate an array in JavaScript

    Code Snippets - Pre-populate an array in JavaScript

    Series of small code snippets I eventually use when working in some of my projects. And today's code snippet is how to pre-populate an array in JavaScript.

    February 15, 2021

  • Code Snippets - uniqueId

    Code Snippets - uniqueId

    Series of small code snippets I eventually use when working in some of my projects. The first one of them is the uniqueId.

    January 25, 2021

  • A tale of JavaScript errors

    A tale of JavaScript errors

    Meet @mersocarlin/api-error. The lib that encapsulates API errors into named errors.

    August 6, 2020

  • Atomic Money - from a spreadsheet to a side project

    Atomic Money - from a spreadsheet to a side project

    After tracking my expenses in a spreadsheet for some time, I decided to take one step further and create my own expense tracking app: meet the Atomic Money App.

    May 27, 2020

Hemerson Carlin © 2025 - v0.47.1