PricingBlog

Repeat duplicates some elements / repeatkey does not work

  • mbirkegaard-1200069922294861945

    mbirkegaard

    1 year ago

    I have a list that renders items from an API responde. For some reason there are some duplicated elements. These duplicates are not in the api-response. Putting a console.log in their on load logs only the correct amount of items. I tried with RepeatKeys and that worked for a while, but stopped working a little later. I think RepeatKey may generally be broken. Even setting a constant key (e.g. "1") shows all the items.

    I have an expanded view of the list (the one with the duplicates does some date filtering) and that has no dupes.

    Team toddle
    1200069922844327947-Screenshot_2024-01-25_at_14.23.29.png
  • jacobkofoed-1200102481972183070

    Jacob Kofoed

    1 year ago

    Hi @mbirkegaard I am currently taking a look at this. Will let you know when I find something useful 🤔
  • mbirkegaard-1200105608578351144

    mbirkegaard

    1 year ago

    Thank you, thank you!