DEV Community


Discussion on: Confused by JavaScript's const? Me too!

patrixr profile image
Patrick R

Thoughts on Immutable.js ? I like the idea of using it, but it sometimes makes things more verbose than they need to be

michaeljota profile image
Michael De Abreu

I could recommend that you use typescript instead. If you use readonly modifiers and const assertion you can have immutable code in development, and better performance in production.