then-purpleT
Refine3y ago
4 replies
then-purple

Referring component’s local state inside MUI’s DataGrid

So I’m noticing that the renderCell function of a column cannot refer the updated value of the current local state of the component (useState).
Is this an expected behaviour or a bug?

Thanks!
Was this page helpful?