DEV Community

loading...

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

Collapse
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

Collapse
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.