Skip to content

no-param-reassign error is set for @reduxjs/toolkit createSlice/createReducer #14759

Answered by OldMeM
OldMeM asked this question in Q&A
Discussion options

You must be logged in to vote

I found an answer to this on futher searching.

  1. reduxjs/redux-toolkit#521
  2. Linting State Mutations

I should have searched for this first in their repo before coming over to eslint. 🤦‍♀️

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by OldMeM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants