seed-hypermedia / mintter

Mintter: an app for knowledge communities. Powered by the Hypermedia protocol.
https://mintter.com
Apache License 2.0
162 stars 11 forks source link

frontend perf: first try #1664

Closed horacioh closed 8 months ago

horacioh commented 8 months ago

this is what I did so far:

  1. increate refetchIntervals on all the places we had one. now the smallest I believe is 10_000ms
  2. change queryClient networkMode so the app will work offline
  3. reorganize root and main components
  4. remove all interactivity (hovers) on publication content inside feed items
  5. memoize all list items

from what I could measure, this changes make the app work "a little faster" and prevents a lot of computation on interactions.

feel free to add any suggestions. if we as a team believe this is not important, I'm ok with trashing this away.