这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@krzysu
Copy link
Contributor

@krzysu krzysu commented Feb 7, 2025

It still loads 2K+ chunks in dev mode, but in production mode (demo build + start), everything looks fine.

@avkos, if you approve this, please merge and deploy so we can verify if the issue is resolved

@krzysu krzysu marked this pull request as ready for review February 8, 2025 17:05
import { lazy, Suspense } from 'react';

const TokenIcon = lazy(() =>
import('@web3icons/react').then((mod) => ({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

lazy load icons on demand

@krzysu krzysu requested a review from avkos February 8, 2025 17:08
@krzysu krzysu merged commit 787208f into main Feb 10, 2025
2 checks passed
@krzysu krzysu deleted the fix-icons branch February 10, 2025 15:32
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