Don't desctructure the state in every callback