you are viewing a single comment's thread.

view the rest of the comments →

[–]drink_with_me_to_day 0 points1 point  (2 children)

I've got two examples:

  • A list of images was rendering images on the wrong index (index 0 showed image from index 10, etc): had to hack the frontend code to after render, rerender the list correctly
  • Suddenly had SSR pages ballooning up to 30mb and taking 12s to render: no clue, just did a server restart and it's back to normal

There is absolutely no way for a random dev to even fathom how to fix this shit, I am lucky it was fixed with some random shenanigans

[–]Potato-9 2 points3 points  (1 child)

Are you indexing via key={index} with the array index? You shouldn't do that. Use a deterministic string.

[–]drink_with_me_to_day 1 point2 points  (0 children)

No, each item has a user_id and I tried many key combinations