solid/reactivity
warning while directly mutating a createMutable
state
#99
Labels
bug
Something isn't working
reactivity v2
To be addressed in the rewrite of the solid/reactivity rule
Describe the bug
When I try to update a property to trigger an update, ESLint gives a warning
To Reproduce
Using recommended setup and following the documentation about
createMutable
suffice to reproducehttps://www.solidjs.com/docs/latest/api#createmutable
Expected behavior
No warning for directly mutating. At least from the expected updating facilitators that I specifically declare to update the main state. Like in the state-action principle.
Screenshots
Environment (please complete the following information):
node --version
): 14eslint-plugin-solid
version (npm list eslint-plugin-solid
/yarn why eslint-plugin-solid
): 0.12.1eslint
version (npm list eslint
/yarn why eslint
):8.42.0Additional context
The text was updated successfully, but these errors were encountered: