Comments

Stateful and Stateless Components in React

Stateful and Stateless Components Today, we’re going to review what stateful and stateless components are in React, how you can tell the difference, and the complex process of deciding whether to make components stateful or not. State Review First, let’s review what state is. In a component, state is data we import — typically to […]

Tags: ,
Comments

React Router: Add the Power of Navigation

React Router Let’s make some navigational React components with React Router. In this article we’ll cover: What React Router is Setting up your first routes The importance of using ‘Exact’ 404 Component and Switch Links Navigation Rendering several components at once Nested routes I’ll walk you through React Router as if you were coding alongside […]

Tags: ,
Comments

Axios in React — Bring Your Data to the Front

Getting cozy with Axios You finally have a fledged-out React component, but how can we get actual data from our APIs? Axios is our friend here. To play along with me, you’ll need to be familiar with how Express routes retrieve data from a database. Knowledge of React Router will help you understand some examples […]

Tags: , , , ,
Connect with Me
  • Categories
  • Popular Posts