-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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: improve performance of session navigation #2815
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2815 +/- ##
==========================================
- Coverage 94.07% 94.07% -0.01%
==========================================
Files 359 359
Lines 20827 20826 -1
Branches 2490 1596 -894
==========================================
- Hits 19593 19592 -1
Misses 1234 1234 ☔ View full report in Codecov by Sentry. |
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
🎉 This PR is included in version 0.162.20 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* ⚡️ perf: improve performance of session navigation * 🐛 fix: fix mobile navigation * ♻️ refactor: clean code
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information
研究下来 Link 的行为不是我一开始以为的 router.push 的单页跳转,而是和普通 a 标签的跳转效果一样。因此使用 Link 会导致切换助手卡顿… 改成用 state 触发变更就好了