Closed davidnixon closed 6 months ago
Initial state
After clicking on "name" header
After clicking on "year" heading
After clicking on "year" heading again (descending sort)
After clicking on "year" heading a 3rd time (no sort)
@hgwrtsdev what do you think of this one?
@felipebritor what do you think of this change?
.sort
mutate the sorted array, which is global, but doesn't look like an issue. LGTM, @davidnixon 👍
Contributes to #1560
What did you do?
Added a sort function to the story and more documentation tot he story about the need for user's to implement their own search.
Why did you do it?
The current story emits the search events but does not actually sort the data. This is confusing.
Were docs updated if needed?