Compare state changes using `===`