<input
type="text"
ref={(input) => { this.textInput = input; }} />
That's from the React Docs on Refs. I'm new to using refs and I'm curious about the use of the curly braces after the arrow notation inside the ref. What is that callback returning exactly? Normally when I see curly braces after an arrow function, you need an explicit return statement.