React Programming Errata

In 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.

In 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.