dillon1000/react
Commit
Browse files More explicit class method for ref doc (#10228)
After realizing this was the second time I've visited this exact page within a year and second guessing myself that the `textInput` ref isn't actually the `<input />` element. I decided to attempt to make this a little more explicit; you are actually accessing the method on the child class and not the `focus` method on the dom input element. Having them named the same caused some confusion.
Changed paths1 file
First-parent comparisondocs/docs/refs-and-the-dom.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…