Fork me on GitHub
#re-frame
<
2017-09-29
>
launchpad17:09:29

hey has anyone had any experience with rendering a large dataset in a table with re-frame? I have a specific requirement where there is table like data that can be expanded/collapsed but obviously there are some performance issues there. looking for any suggestions

isak17:09:40

@launchpad have you checked out FixedDataTable?

launchpad18:09:42

@isak, i have but i was trying to do it without importing other libraries or components. i’ll look at it again but i was trying to avoid using fixed width and height and letting the browser resize the table properly based on the data

launchpad18:09:59

also, i’m not sure i’d be able to do an “expand/collapse” on rows

isak18:09:23

@launchpad yea that is pretty annoying. you could also use a <table> with multiple <tbody>, each of which could have a different subscription

isak18:09:56

that will let you get a little more precise with the re-renders

launchpad18:09:20

hmm, i haven’t tried that yet. sounds like it’s worth a shot. thank you