S
SolidJS2y ago
walid

Warning on a reactive variable using TSX

I don't know why I get this warning since everything works just a fine as I wanted, unless their might be unexpected behaviors which for now I haven't encountered yet. Please let me know what's going on and maybe some tips on improving what I've done so far!
2 Replies
oneiro
oneiro2y ago
You should be able to call it initialContainer. This surpresses the linter error in the way you desire. (This is also written somewhere in the solid-eslint docs)
oneiro
oneiro2y ago
GitHub
eslint-plugin-solid/docs/reactivity.md at main · solidjs-community/...
Solid-specific linting rules for ESLint. Contribute to solidjs-community/eslint-plugin-solid development by creating an account on GitHub.
Want results from more Discord servers?
Add your server