Skip to content

[docs] Explain how to use hooks inside a cell renderer #5158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 5, 2022

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Jun 9, 2022

Closes #4937
Closes #4815

@flaviendelangle flaviendelangle added docs Improvements or additions to the documentation component: data grid This is the name of the generic UI component, not the React module! labels Jun 9, 2022
@flaviendelangle flaviendelangle self-assigned this Jun 9, 2022
@mui-bot
Copy link

mui-bot commented Jun 9, 2022

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 253.4 669.2 364.9 388.4 147.022
Sort 100k rows ms 528.3 1,033.7 631.3 752.72 195.946
Select 100k rows ms 138.9 200.3 175.2 172.02 20.393
Deselect 100k rows ms 127.4 231 142.8 167 39.858

Generated by 🚫 dangerJS against 9034723

Copy link
Member

@alexfauquette alexfauquette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds good as it is

If you add the warning, it would maybe solve the #4815

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Copy link
Member

@joserodolfofreitas joserodolfofreitas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Leaving just a minor suggestion.

flaviendelangle and others added 2 commits June 23, 2022 10:01
Co-authored-by: José Rodolfo Freitas <joserodolfo.freitas@gmail.com>
Co-authored-by: Sam Sycamore <71297412+samuelsycamore@users.noreply.github.com>

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
…-hook
@flaviendelangle flaviendelangle merged commit edb2135 into mui:master Jul 5, 2022
@flaviendelangle flaviendelangle deleted the renderCell-hook branch July 5, 2022 08:02
cherniavskii pushed a commit to cherniavskii/mui-x that referenced this pull request Jul 6, 2022
joserodolfofreitas pushed a commit to joserodolfofreitas/mui-x that referenced this pull request Jul 15, 2022
alexfauquette pushed a commit to alexfauquette/mui-x that referenced this pull request Aug 26, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@oliviertassinari
Copy link
Member

Interesting footgun here 😅. I referenced this problem in mui/base-ui#157 discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
6 participants