use-latest-callback

React hook which returns the latest callback without changing the reference