mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[core] Various TS improvements

Open flaviendelangle opened this issue 3 years ago • 2 comments

The base goal was to merge https://github.com/mui/mui-x/pull/4640 but it's not doable for now (see https://github.com/mui/mui-x/pull/4640#issuecomment-1191266130)

The TS improvements are worth keeping I think

flaviendelangle avatar Jul 21 '22 09:07 flaviendelangle

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 335.5 576 497.4 469.56 100.901
Sort 100k rows ms 495.4 1,024.2 714.3 752.62 170.967
Select 100k rows ms 147.3 270.6 215.3 208.92 47.062
Deselect 100k rows ms 122.7 353.7 196.4 218.62 82.88

Generated by :no_entry_sign: dangerJS against 1a2f31f748859c4edb99382aff00b87752be680a

mui-bot avatar Jul 21 '22 09:07 mui-bot

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Jul 27 '22 16:07 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Aug 12 '22 15:08 github-actions[bot]

@flaviendelangle I can upgrade @types/react and commit to this PR (since we already migrated to React 18 for the docs). What do you think?

cherniavskii avatar Aug 12 '22 15:08 cherniavskii

@flaviendelangle I can upgrade @types/react and commit to this PR (since we already migrated to React 18 for the docs). What do you think?

Indeed

If the types are passing (or if there are just a few issues left) let's upgrade

flaviendelangle avatar Aug 12 '22 15:08 flaviendelangle