The issue is raised when the analyzer encounters a string literal inside a react component. We recommend wrapping the string literals in a JSX Container, e.g., {'Text'}
.
There are a few scenarios where you want to avoid string literals in JSX as follows:
var Hello = <div>test</div>;
var Hello = <div>{'test'}</div>;