-
Notifications
You must be signed in to change notification settings - Fork 0
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
perf(game): add priority
and blur
to images
#86
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -43,6 +50,7 @@ function Handler({ | |||
width={64} | |||
height={64} | |||
onClick={() => onClick(step + 1)} | |||
priority |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里的图片好像是动态的,priority 能生效吗
@@ -34,6 +40,7 @@ function Handler({ | |||
alt="prev" | |||
width={104} | |||
height={24} | |||
priority |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还有这里
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有点过度优化了。。
当 Image 大部份都是 priority 的时候,priority 不再是 priority
No description provided.