A callback fired whenever the ref's value changes.
React Docs
<div ref={(node) => console.log(node)} />
The type of the ref's value.
Generated using TypeDoc
A callback fired whenever the ref's value changes.
See
React Docs
Example