Simplified situation:
I am working on a live application that needs to save around 650 objects as an array into a Redux store.
The application holds a ReactJs - Redux - ImmutableJs - Reselect techstack. But I have identified the slowdown to actually saving the data into the Redux store.
Using ImmutableJs is irrelevant. I have created POC's with and without this framework and the performance did not change.
Following code is my SearchReducer
const searchReducer = (state = fromJS(defaultState), action) => {
switch(action.type) {
case SEARCHMUSICIAN:
const { searchTerm, results } = action.payload;
return state.set('searchTerm', searchTerm)
.set('foundMusicians', fromJS(results));
default:
return state;
}
};
What can explain the slowdown? Is Redux actually slow with bigger collections or large amounts of data at once? Is there a flag or configuration that I am missing that would increase the Redux performance?

