gregnb / gregnb/mui-datatables

Warnings from deprecated\old props

Open
#1,747 6 comments 28 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Hi,

After update to the last Material-UI version: 4.12.1,
I'm getting a lot of warnings from the table,

The warnings:

1. Warning: Failed prop type: The prop `onExited` of `ForwardRef(Popover)` is deprecated. Use the `TransitionProps` prop instead.
2. Warning: Failed prop type: The prop `onChangePage` of `ForwardRef(TablePagination)` is deprecated. Use the `onPageChange` prop instead.
3. Warning: Failed prop type: The prop `onChangeRowsPerPage` of `ForwardRef(TablePagination)` is deprecated. Use the `onRowsPerPageChange` prop instead.
4. Warning: Failed prop type: The prop `onPageChange` is marked as required in `ForwardRef(TablePagination)`, but its value is `undefined`.

Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

The report concerns ForwardRef(Popover) and ForwardRef(TablePagination) warnings after Material-UI 4.12.1. Start by reproducing the warnings in a table using the reported version and trace the table's Popover and TablePagination prop usage. Done means the deprecated-prop and missing-required-prop warnings no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.