Open viktorsmari opened 5 years ago
Problem: All comments are polled every 3 seconds from the /api/. They are always re-rendered, no matter what.
Screenshot:
Video: https://imgur.com/a/5pAs3oK
How to reproduce: Try reading the first comment and scroll it sideways. https://x.piratar.is/polity/1/issue/408/ Try highlighting any text in comment and wait 2-3 seconds.
Possible solutions: Only re-render comments that have changed, or are new.
Problem: All comments are polled every 3 seconds from the /api/. They are always re-rendered, no matter what.
Screenshot:
Video: https://imgur.com/a/5pAs3oK
How to reproduce: Try reading the first comment and scroll it sideways. https://x.piratar.is/polity/1/issue/408/ Try highlighting any text in comment and wait 2-3 seconds.
Possible solutions: Only re-render comments that have changed, or are new.