React Programming Errata

The resources are available at: https://bignerdranch.com/solutions/react-resources.zip

Chapter 14

The silver challenge should end with "Hint: You will likely want to create a separate function to handle the onChange event for the ZIP code, as the logic will be difficult to fit inline in onChange.

Chapter 21

You’ll need to also update @testing-library/react to v14.0.0 using npm install --save @testing-library/react@14.0.0 to avoid warnings about things not being wrapped in act(...).

The silver challenge on chapter 14 ends with this paragraph: “Hint: You will likely want to create a separate function to handle the onChange event for the ZIP code, as the logic will be difficult to fit in onClick.”. I believe “onClick” should also be “onChange” here.

That’s also a typo, thanks.