dillon1000/react

Commit

Explain arbitrariness of ref name in callback (#8913)

* Explain arbitrariness of ref name in callback 

The sample code was confusing because it's not clear that "textInput" in this.textInput is an arbitrary name for the ref.

* Tweak wording
Browse files
Changed paths1 file
First-parent comparison
M docs/docs/refs-and-the-dom.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…