We prefer using `$viewClass === null` for null checks. Please do the same for consistency across framework code.