WIP: Resolve "Document recommend selectors for getting ordered lists"
What I did
-
Implemented new sort selector method getSortedByProp -
Implement advanced sort data types, E.g., Dates -
Memoize sort selectors with reselect -
Add sort reducers sortByandsortDuration -
Add sort action creators for SET_SORT -
Document in storybook with usage examples -
Add usage examples for managing externally driven sort orders & selector derived sort orders -
Add automated tests for the new selectors, reducers, actions
Implications
None
How to test
-
Start yarn storybookand open in your browser -
Open the Selectors->Sortingstory -
Ensure the documentation makes sense -
Use yarn linkto link your development version to an existing project -
Implement a few selectors and test the results
Depends !5 (merged) Closes #11
Edited by Sam Sehnert