Esteban Herrera

  Family man, #Java and #Javascript developer. #Swift, and #VR/#AR hobbyist. Like #books, #movies and still trying many things.


15 Stories by Esteban Herrera

4 alternatives to moment.js for internationalizing dates

Moment.js is a robust and mature library for date processing, however, it may be overkill for some projects.
0 9 min read

What’s new in Create React App 3

Released at the end of April 2019, Create React App (CRA) 3 adds linting rules to hooks and TypeScript projects, along with other improvements...
0 3 min read

A guide to useState in React

useState is a hook that allows you to have state variables in functional components. There are two types of components in React, class and...
8 7 min read

CSS selectors level 4

Selectors are a core part of CSS. They allow you to do things like select all the elements of a certain type: div {...
0 10 min read

What’s new in Create React App 2

Create React App 2.1, released at the end of October 2018, added official support for TypeScript. This, along with all of the improvements and...
0 6 min read

5 things you didn’t know you can do in CSS-in-JS

In addition to traditional CSS, you also have inline styles and CSS-in-JS as options for styling a React application. With inline styles, you pass...
0 4 min read

5 reasons you shouldn’t be using GraphQL

GraphQL is great, it allows you to work in a declarative style by enabling you to select only the information or operations that you...
21 4 min read

Create React App: A quick setup guide

Create React App is one the most popular tools for creating React app. With just three dependencies, you get support for React, JSX, ES6, polyfills,...
0 7 min read

The best React inline style libraries  compared

In any non-trivial React app, CSS styles can become a problem if you don’t manage them correctly. Global style definitions, !important rules everywhere, and low...
0 11 min read

Rendering large lists with React Virtualized A common requirement in web applications is displaying lists of data. Or tables with headers and scrolls. You have probably done it hundreds...
3 11 min read

Immutability in React: There’s nothing wrong with mutating objects

Image credit One of the first things you learn when you start working with React is that you shouldn’t mutate (modify) a list: //...
0 7 min read

8 conditional rendering methods in React

There are a number of ways to use conditional expressions in React, and which one you choose will depend on your use case.
1 10 min read