You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there's no way to sort entities in the store. I skipped this on purpose for v1.0, I didn't want to paint the API into a corner with a bad sorting solution.
After playing around with it I think the best approach is to allow get to accept an optional sort function. I wasn't sure at first if sorting should be done when entities are added to the store, but that doesn't really help since one store may have two different derived stores that need to be sorted differently.
The text was updated successfully, but these errors were encountered:
Right now there's no way to sort entities in the store. I skipped this on purpose for v1.0, I didn't want to paint the API into a corner with a bad sorting solution.
After playing around with it I think the best approach is to allow
get
to accept an optionalsort
function. I wasn't sure at first if sorting should be done when entities are added to the store, but that doesn't really help since one store may have two different derived stores that need to be sorted differently.The text was updated successfully, but these errors were encountered: