kentcdodds/match-sorter

Feature request: export `match` and `sort` functions

Open

#142 geöffnet am 1. Apr. 2023

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)TypeScript (144 Forks)github user discovery
help wantedneeds investigation

Repository-Metriken

Stars
 (4.098 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

I know this is a very far edge case, but I'm trying to use this with a certain UI library that is very opinionated. long story short, I set a FilterFunc and SortFunc on a certain structure that will be used to sort and filter the list.

It would be nice to have filter and sort functions that return whether data should be in the list or not and sort which compares two rows to check order

Contributor Guide