Huge object in a Redux store

Ideally we would put in Redux the result of a db query that might be very,very large (100k+ rows).

Looks as an overkill to put the result in redux, is there a clean way to put a kind of hash or timestamp in the redux store and be able to get the actual data in my React component ?

In Java we could somehow overwrite the equals and hash so it doesn't go do a deep equals, making it a lot faster.

#reactjs #redux

1 Likes1.70 GEEK