# React state setter function should not be called with its matching state variable (`sonarjs/no-useless-react-setstate`)

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

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