webscopeio / react-textarea-autocomplete

📝 React component implements configurable GitHub's like textarea autocomplete.
MIT License
451 stars 80 forks source link

Use React.forwardRef #93

Closed jukben closed 5 years ago

jukben commented 5 years ago

Let's preserve innerRef to avoid breaking change.

https://reactjs.org/docs/forwarding-refs.html#displaying-a-custom-name-in-devtools

jukben commented 5 years ago

It's actually doesn't make a sense, as far we're using the ref for methods. (setCaretPosition...)