TTUSDC / cpceed-webapp

CPCEED Web App
https://ttusdc.github.io/cpceed-webapp/
3 stars 0 forks source link

Immutable State in Redux #58

Open ynigoreyes opened 6 years ago

ynigoreyes commented 6 years ago

There has been some problems with async actions and immutability in redux. Some objects are not getting copied completely.

The ImmutableJS seems like a go-to library to handle immutability. There will need to bee some changes as every time state is read, it will be read as an ImmutableJS Object that comes with it's own methods, not a Javascript Object. However, doing this early on when there is not that much code is much better than when you have the whole front-end created.