Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve loading: peers page #840

Merged
merged 3 commits into from
Dec 18, 2023
Merged

Improve loading: peers page #840

merged 3 commits into from
Dec 18, 2023

Conversation

pankaj-peerdb
Copy link
Contributor

Convert /peers page to client components, so that we dont have to do a round trip on every page visit. Converting it to client side rendering, caches the page once it is loaded and we can load data via api. When data is loading we show the loader. We also cache the data(via swr) and refresh the data in background.

@pankaj-peerdb pankaj-peerdb changed the title Improve loading Improve loading: peers page Dec 18, 2023
@iskakaushik iskakaushik merged commit 49b152e into main Dec 18, 2023
12 checks passed
@serprex serprex deleted the improve-loading branch July 19, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants