This product is not supported for your selected Datadog site. ().
Metadata
ID:tsx-react/no-danger-with-children
Language: TypeScript
Severity: Warning
Category: Error Prone
Description
If both children and dangerouslySetInnerHTML are set, it’s unclear which one should take precedence, and React will throw a warning. To prevent this mistake, this rule enforces that either children or dangerouslySetInnerHTML are used, but not both.