Multiple sorted ids
arrays by createEntityAdapter
#3008
Labels
question
Further information is requested
ids
arrays by createEntityAdapter
#3008
Hello,
I am using
createEntityAdapter
on my app, and I need to sort the entities I got from the server, using many different sort functions.Currently,
createEntityAdapter
only supports a singleids
array and a singlesortcomparer
.I managed this by making different selectors which get the sorted entities array (using
selectAll
) from the reducer and sort it in a different way.However, it is not normalized structure since I can't get a sorted ids, but sorted entities.
Is there any way to have multiple
ids
arrays with a singleentities
lookup table?For example,
Thanks.
The text was updated successfully, but these errors were encountered: