"The reactive variable 'head' should be wrapped in a function for reactivity."
I'm a little confused specifically as to what this warning from
eslint-plugin-solid
means:
Here's what the code looks like (simplified):
I don't understand here why it's telling me it should be wrapped in a function, when I'm reading a derived state. This works fine it's really a linting warning that I'm not sure is even correct so I'm wondering if I've got this all wrong.3 Replies
(I have this similar issue other places in the project, interestingly, and this is literally the only linting issue I've yet to solve, the others are pretty clear except for one)
@joshwilsonvu made the plugin i think
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View