AllenFang / AllenFang/react-bootstrap-table

expandComponent is going in infinite loop

Aberta
#2,099 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
2.2k
Forks
761
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I have two api calls one for fetching the list of records.
second api call is when I expandComponent for each record.
I am using the react-bootstrap-table and expandComponent.
When I click on expand symbol, its going infinite loop and the values of the expanded component is changing based on the row.id for all the records fetched in the first api call.
Need help in loading the expand component when I expand on a row and the api call should go for the record expanded.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.