umijs / dumi

📖 Static Site Generator for component library development
https://d.umijs.org
MIT License
3.61k stars 1.18k forks source link

performance: use assignment instead of object spread for better search performance #2216

Closed Jinbao1001 closed 1 month ago

Jinbao1001 commented 1 month ago

🤔 这个变动的性质是?/ What is the nature of this change?

🔗 相关 Issue / Related Issue

💡 需求背景和解决方案 / Background or solution

重复创建对象, 导致 g6 官网搜索性能不佳.

📝 更新日志 / Changelog

Language Changelog
🇺🇸 English use assignment instead of object spread for better search performance
🇨🇳 Chinese 提升搜索性能
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
dumi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 6:27am