Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

261
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda