# sonarjs/no-useless-react-setstate

📝 React state setter function should not be called with its matching state variable.

💼 This rule is enabled in the ✅ `recommended` config.

<!-- end auto-generated rule header -->
