eslint (solid/reactivity) warning on nested store
I'm trying to follow the "Advanced" example from https://docs.solidjs.com/concepts/stores and create a nested store:
But this triggers an eslint warning: "The reactive variable 'systemStore.stats' should be used within JSX, a tracked scope (like createEffect), or inside an event handler function, or else changes will be ignored."
I sort of understand what this means, but it's okay, here, right? Also my reactivity seems to be working okay. Is this a false positive or am I doing something wrong?
0 Replies