Latches a boolean flag for a short duration, then resets to false
Useful for when an action succeeds, then you want to reset back to normal after a short while
User completes swapping X to Y: temporarily show "Success" then allow user to interact with the form again
const { mutate, status } = useMutation(...)
const isSuccess = useEphemeralState(status === 'success')