Week 43

This week has been a return to some React fundamentals. I had gone through many of the common “React for beginners” type material, but I felt like there were some things I had largely forgotten since I hadn’t really needed them in what I had been working on.

So I fired up a simple React project in Codesandbox and made a few mini-apps, trying to do as much as I could without reaching for Google when I got stuck.

Things I reviewed: fetching data from an API (forcing me to review the whole async/await/promises thing), getting and storing in state a value from an input, and controlled vs. uncontrolled inputs.

I put together a number of the standard beginner React projects: a weather app, a random joke generator (with password protection for some of the more off-colour jokes), and a todo list.

They all look horrible at the moment since I only included the barest of styling. Maybe down the road I’ll clean them up and make them look presentable. For now, it’s a nice place to slap together a little app to remember how to do something and reinforce some concepts.

Copyright © 2021, Jeremy Ludwig. All rights reserved and all that.