AllenFang / AllenFang/react-bootstrap-table

expandComponent is going in infinite loop

未關閉
#2,099 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
2.2k
分支
761
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。