3 ms·
Is monkey patching better than copying and modifying the entire dependency? I see tradeoffs both ways. At the end of the day, the job needs to get done. Some
by metadat 4y ago
Is monkey patching better than copying and modifying the entire dependency? I see tradeoffs both ways.
At the end of the day, the job needs to get done. Sometimes this involves modifying existing things for a particular purpose.
- genuine_smiles 4y agoThe JavaScript ecosystem has pretty good support for patching a dependency without copy+pasting it. https://github.com/ds300/patch-package#set-up https://github.com/ds300/patch-package#set-up