kentcdodds/match-sorter

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

Open

#142 ouverte le 1 avr. 2023

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)TypeScript (144 forks)github user discovery
help wantedneeds investigation

Métriques du dépôt

Stars
 (4 098 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur