Does this need to switch from
No it doesn’t.
const is not really a big deal and IMO is mostly a preference. I used to be bullish on it, making everything const, but eventually I came around when I realised that almost no bugs are prevented. It doesn’t ensure immutability of the object, only re-assignment. And JS doesn’t make any optimizations based on it currently.