Do not assert using React internals