The Latest Ref Pattern One liner: The Latest Ref Pattern allows you to have a reference to the latest value of a prop, state, or callback without needing to list it in a dependency array when accessing it in a useEffect hook. Notes mentioning this note Dev