### Describe the problem Disallow function calls in `useState` that aren't wrapped in an initializer function: ```ts // Bad const [value, setValue] = useState(generateTodos()); // Good const [value, setValue] = useState(() => generateTodos()); ``` ### Describe the solution you'd like Port https://github.com/jsx-eslint/eslint-plugin-react/pull/3579 ### Alternatives considered _No response_ ### Additional context _No response_