gregnb / gregnb/mui-datatables

Toolbar Options doesn't rerender after MUI version 2.0.0

Open
#702 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Back in version 2.0.0, I was able to pass through a prop and have it rerender an element in the toolbar [for example](https://codesandbox.io/s/mui-datatable-issue-i6drf) I have a refresh button with a spinner that shows it's refreshing when you click it. If you change the version here to anything later than 2.0.0, the functionality breaks.

I feel kind of awkward that this issue is so short, but all the required info can be found in the codesandbox.

Basically, I had a button that would conditionally display a spinner inside of the toolbar and now the toolbar doesn't re-render the button when updating the prop.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.