Skip to content

Conversation

@0xjorgen
Copy link
Contributor

@0xjorgen 0xjorgen commented Jan 15, 2026

motivation:
When loading the application for the first time, or on any page refresh, the tokens displayed in both the source and destination token selectors are sometimes slow to load.

  • Use cached token data as initialData for instant token display
  • Remove blocking check on balance loading so tokens appear immediately
  • Add keepPreviousData to balance queries to prevent blinking during
      wallet connect/disconnect and query key transitions
Screenshot.2026-01-15.at.12.51.56.UTC.mp4

jorgen added 2 commits January 15, 2026 12:26
- Use cached token data as initialData for instant token display
- Remove blocking check on balance loading so tokens appear immediately
- Add keepPreviousData to balance queries to prevent blinking during
  wallet connect/disconnect and query key transitions
@vercel
Copy link

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
app-frontend-v3 Ready Ready Preview, Comment Jan 15, 2026 1:08pm
sepolia-frontend-v3 Ready Ready Preview, Comment Jan 15, 2026 1:08pm

@linear
Copy link

linear bot commented Jan 15, 2026

@vercel
Copy link

vercel bot commented Jan 15, 2026

Deployment failed with the following error:

Hobby accounts are limited to daily cron jobs. This cron expression (* * * * *) would run more than once per day. Upgrade to the Pro plan to unlock all Cron Jobs features on Vercel.

Learn More: https://vercel.link/3Fpeeb1

@0xjorgen 0xjorgen changed the title jorgen/fe 269 token selectors are slow to load on initial page load and fix: improve token selector loading performance Jan 15, 2026
Copy link
Contributor

@dohaki dohaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one!

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.

3 participants