react cannot reuse markup