Skip to content

Misleading wording in Documentation #9141

@0xAl3xH

Description

@0xAl3xH

Under "Lifting State Up":

The onClick doesn't have any special meaning here, but it's popular to name handler props starting with on and their implementations with handle.

is misleading because it is special and references the SyntheticEvent handlers. Instead, the documentation should give a brief description of why onClick was used and reference the section on SyntheticEvent to allow the users to see available handlers other than onClick.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions