The most direct way to avoid a side effect is to use a separate process. So how would you do that if the job is assigned to you? I will use the npm command. So let’s ask the omniscient again: This looks like a clean solution to me.

3m read timeFrom dev.to
Post cover image
Table of contents
The Issue I need to solveGet the answerThe side effectClean solutionPush harderFinal Words
14 Comments

Sort: