@devinjohw/how-to-dupmutate
v1.0.1
Published
How to dupmutate?
Downloads
120
Maintainers
Readme
how-to-dupmutate
Why created this repo
- Introducing a new term 'dupmutate'
- Gathering best practices for dupmutation
Introducing 'dupmutate'
Recently (Nov 28, 2024), I’ve been diving deep into React.js and learning a lot. One concept that really stood out to me is the importance of never mutating data directly. Instead, the recommended approach is to first duplicate the data and then mutate it. This operation is so common that I thought, “Why not introduce a new term to describe these two steps—‘dupmutate’?” Excited by the idea, I shared it in a tweet and even created a GitHub repository for it.
'Dupmutate' means 'duplicate' + 'mutate', here are all forms of this word:
- dupmutate (Base)
- dupmutates (3rd Person Singular)
- dupmutating (Present Participle, Gerund)
- dupmutated (Past Tense, Past Participle)
- dupmutation (noun)