Thanks Edwin. When I say "using reducers for arrays", I primarily am referring to the "I have an array of objects and the user can edit each object" use case. For a simple array of IDs, reducer is not really necessary.
I also love the testing trophy so I agree with you there!
@testing-library/cypress is an interesting topic... I have used React Testing Library and Cypress, just not together 😉
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks Edwin. When I say "using reducers for arrays", I primarily am referring to the "I have an array of objects and the user can edit each object" use case. For a simple array of IDs, reducer is not really necessary.
I also love the testing trophy so I agree with you there!
@testing-library/cypress
is an interesting topic... I have used React Testing Library and Cypress, just not together 😉