Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

256
Views
index.js:1 Warning: Failed prop type: The prop `buttonRef` of `ForwardRef(ButtonBase)` is deprecated. Use `ref` instead

I´m using MUI Datatables ( V.3.7.8 ), and this error " index.js:1 Warning: Failed prop type: The prop buttonRef of ForwardRef(ButtonBase) is deprecated. Use ref instead. " is appearing..

I can see that when i turn off the search in the MUIDataTable options ( search:false ), the error disappears and i noted that this is related to the Tooltip..

Is this problem already solved? Or somebody else is having the same issue?

Thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I am not using MUIDataTables, but within my MUI webpage I was running into the same issue. I ended up searching my working directory for buttonRef which returned two hits:

  • Widget.js
    • buttonRef={setMoreButtonRef}
  • WidgetView.js
    • buttonRef={props.setMoreButtonRef}

I then read the below page from React which outlines the use of ref in the button component. https://reactjs.org/docs/react-api.html#reactforwardref

So after changing to above lines to:

ref={setMoreButtonRef}
ref={props.setMoreButtonRef}

the error went away.

I would try searching your working directory for buttonRef uses in button components and changing them to ref.

Worked for me.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!