kentcdodds/match-sorter

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

Open

#142 创建于 2023年4月1日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)TypeScript (144 fork)github user discovery
help wantedneeds investigation

仓库指标

Star
 (4,098 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南