issues
search
therungg
/
therun-frontend
Frontend for therun.gg
https://therun-fr-therun.vercel.app
MIT License
23
stars
8
forks
source link
Update search to reduce rerenders
#268
Closed
florence-wolfe
closed
1 month ago
florence-wolfe
commented
1 month ago
Whole page was rerendering due to the query param hook.
using this instead which gets around that issue:
https://github.com/vercel/next.js/discussions/18072#discussioncomment-109059
break the search down into smaller memoized components to make rerendering less impactful
add some callbacks and memos