Autodesk / Autodesk/react-base-table

The prop value in the dataGetter function cannot be obtained with the latest

Abierto
#434 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
1.5k
Forks
170
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm providing a value via props from a parent component to a child component that contains my BaseTable. The value that is passed down is successfully rendered in one of the columns via the cellRenderer.

The issue is that whenever the value is updated in the parent component, the value that is passed to my table via props is not forcing the Column to rerender. I have confirmed the child component is successfully receiving the updated value through rendering the value in a h1 tag outside of my BaseTable.

How can I get the updated value to render inside of the Column of the BaseTable?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo la actualización de un prop del padre al hijo con BaseTable, Column, dataGetter y cellRenderer; el issue no proporciona ningún archivo del repositorio ni ninguna prueba desde la que empezar. Se considera terminado cuando un valor de prop actualizado se renderiza dentro de la Column después de que el padre lo cambie.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react, typescript
Área
frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.