Function useCallbackRef

Creates a wrapper function that can be updated on each render without updating the resulting function