Uncategorized

React 16.3 and createRef()

React 16.3 has been released:¬†https://github.com/facebook/react/blob/master/CHANGELOG.md We now have a new way of accessing refs, instead of the previous callback function. Per React’s docs, this is how it is done: