react.dev
react.dev copied to clipboard
[Typo]: Minor typo in Updating Objects in State
Summary
In the deep dive under the "Using a single event handler for multiple fields" it says "...1" when it should be "... a dynamic name"
Page
https://react.dev/learn/updating-objects-in-state#copying-objects-with-the-spread-syntax
Details
The word "a" before "dynamic" is necessary to make the phrase grammatically correct.
PR submitted.
Closing as the fixing PR was already merged.
@Rekl0w, for the next time please use the GitHub keywords: fixes #1234, closes #1234, so that the PR is correctly (and automatically) linked to the issue and will automatically close it when merged.
@BartoszKlonowski Thanks for the info.