react-hooks icon indicating copy to clipboard operation
react-hooks copied to clipboard

Changelog

Open kentcdodds opened this issue 3 years ago • 1 comments

Here's what's going to be different in the next version of the react-hooks workshop (you can find all these changes in the next branch until the videos are re-recorded):

  • Everything is TypeScript. There's a new script you can run to remove the TypeScript automatically if you want: ./scripts/remove-ts.
  • General improvements to the workshop content based on feedback from learners
  • Exercise 1 has been changed to be more of a natural evolution of an exercise of workshop 1. We build upon that and expand it further with an eye on improved user experience and accessibility.
  • Exercise 2 has been updated similar to exercise 1 so there's more continuity, but the primary activities/learning outcomes are unchanged.
  • Exercise 3 has a new extra credit to remove unnecessary controlled state for an input that doesn't need it.
  • Exercise 4 no longer has the "classes" version. If people really need to learn about classes they can find that from other resources. EpicReact teaches you modern React.
  • Added an example for the function form of state updates because that's the way exercise 4 should have state updates work.
  • Improved exercise 4 tests so they don't rely on localStorage specifically so you can use whatever key you want now.
  • Exercise 5 no longer has the "classes" version. Same reason as exercise 4. Exercise 5 also moved the Vanilla Tilt example to an extra credit (specifically about the importance of cleanup) and instead builds on top of the Username form to use refs to auto-focus on the input when there's an error. More real-world and practical. And it's always nice to build on top of a single example.

kentcdodds avatar Apr 29 '21 22:04 kentcdodds

Conversation locked to avoid conversation about any of these points. These are more notes than anything else. If you want to discuss any of these, open another issue.

kentcdodds avatar Apr 29 '21 22:04 kentcdodds