Esteban Herrera

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

   



14 Stories by Esteban Herrera

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 4 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...
0 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 can do in CSS-in-JS that you didn’t know about

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...
1 6 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,...
0 8 min read

The best react inline style libraries — comparing Radium, Aphrodite, & Emotion

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

http://www.reactvirtualized.com A common requirement in web applications is displaying lists of data. Or tables with headers and scrolls. You have probably done it hundreds...
0 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 React conditional rendering methods

JSX is a powerful extension to JavaScript that allows us to define UI components. But it doesn’t support loops or conditional expressions directly (although...
0 10 min read

React Router DOM: set-up, essential components, & parameterized routes

Recently, Yomi did a great job writing about advanced React Router concepts. But if you’re just starting out with React Router, that post was...
0 10 min read