Use Prettier. All formatting should be deterministic and fixable automatically.
const vs let
I see a lot of people using let for an object when they plan to mutate it.
Even if they understand it's unnecessary and just use it as a convention it's very confusing to other developers who look for the binding being redefined further on.
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.
Formatting
Use Prettier. All formatting should be deterministic and fixable automatically.
const
vslet
I see a lot of people using
let
for an object when they plan to mutate it.Even if they understand it's unnecessary and just use it as a convention it's very confusing to other developers who look for the binding being redefined further on.