There are many different ways to code in React. Choosing how you handle state can be overwhelming, and transitioning to something like Redux can mean tearing up your entire code base.
Let's see how we can write a statfeul React component at the start of a project, and how the needs change throughout the lifecycle of a project.
We will go go from a plain connected React input field, and look at how we can write something more pure. There will be a set of five transformations of the same code. Each transformation uses boilerplate code, moving from an explorative phase into an exploitable phase.