oskari-frontend
oskari-frontend copied to clipboard
Add immutable.js
Using immutable.js makes sure the data structures used by React components won't be mutated elsewhere in the software.
Immutability can be best harnessed if the services providing the data to the React views use immutable data structures. I support implementing all future services in this way!
For the immutability library/tool I suggest Immer: https://github.com/mweststrate/immer
We should still work towards this, but the PR is so old I'm closing it for now.