I battled with that decision due to a) code simplicity but namely b) the case that somehow the placeholder class was present and a local `placeholder` variable wasn't reflecting that properly; since this is directly tracking the state of a className, it seemed appropriate to check that className. Just adding context - i'll leave y'all to whatever change you want :)