Forms and Events (Exercise)

I demonstrated how to add events using a class-based example, can you add some using a hooks-based example?

If you want to work locally, you can use projects/counter-for-hooks as in the project repository as a starter.

Where Are We Now?

There completed version of this exercise can be found in:

  • examples/15-counter-with-hooks-and-events
  • projects/counter-with-hooks on the counter-with-hooks-and-events branch
  • CodeSandbox