Closed russelldavis closed 1 year ago
Describe the bug See title
To Reproduce
const TestComponent = () => { const [foo, setFoo] = createSignal(0); return <div>{() => { console.log("hello"); return foo(); }}</div>; };
Expected behavior No error should be generated, because solid runs these functions in a tracked scope.
Environment (please complete the following information):
node --version
eslint-plugin-solid
npm list eslint-plugin-solid
yarn why eslint-plugin-solid
eslint
npm list eslint
yarn why eslint
Additional context
Describe the bug See title
To Reproduce
Expected behavior No error should be generated, because solid runs these functions in a tracked scope.
Environment (please complete the following information):
node --version
): v16.18.0eslint-plugin-solid
version (npm list eslint-plugin-solid
/yarn why eslint-plugin-solid
): eslint-plugin-solid@0.9.1eslint
version (npm list eslint
/yarn why eslint
): eslint@8.30.0Additional context