It'll depend on the codebase of course, but I think it's a lot less work if you're using the flux frameworks that seem to be popular with modern JS apps.
I think it's interesting that Elm and ClojureScript have chosen immutability as the default. I wonder what other languages have chosen this.