This rule warns about a Mitosis limitation.
This rule aims to warn you if you assign useStore() to a variable named anything other than state.
Examples of incorrect code for this rule:
export default function MyComponent(props) {
const a = useStore();
return <div />;
}
Examples of correct code for this rule:
export default function MyComponent(props) {
const state = useStore();
return <div />;
}
export default function MyComponent(props) {
const [name, setName] = useState();
return <div />;
}