Category: stateless components

Optimizing React Performance with Stateless Components

This story is about stateless components. This means components that don’t have any this.state = { ... } calls in them. They only deal with incoming “props” and sub-components. First, the Super Basics import React, { Component } from 'react' class User extends Component { render() { const {...