Skip to content

v0.8.0 Zustand Refactor

Compare
Choose a tag to compare
@Peek-A-Booo Peek-A-Booo released this 23 Jul 14:34
· 124 commits to main since this release

v0.8.0 版本更新。该版本主要针对 zustand 状态管理相关的逻辑进行了全方位重构,极大的减少了无意义的 render,提升产品的性能。同时为了进一步统一和规范整体界面风格,引入了@ltopx/lx-ui 库进行 UI 组件的替换。还有其他大量优化,赶紧来试试吧

新增

  • 新增引入 @ltopx/lx-ui 组件库,进一步统一全局风格样式

修复

  • 修复不同模型下费用扣除不正确的问题(之前少扣了不少费用)

调整

  • 移除 @vercel/analytics
  • 移除 sentry
  • 暂时移除 prompt market,下周末之前重构好上线
  • 重构 zustand 状态相关的大部分逻辑,极大的减少 render 次数,提升整体性能
  • 移除 plausible,替换监控为 umami

v0.8.0 version update. This version mainly focuses on the comprehensive refactoring of zustand state management logic, greatly reducing unnecessary renders and improving product performance. At the same time, in order to further unify and standardize the overall interface style, @ltopx/lx-ui library has been introduced for UI component replacement. There are also many other optimizations, come and give it a try!

Add

  • Added the introduction of @ltopx/lx-ui component library to further unify the global style.

Fixed

  • Fixed the problem of incorrect deduction of fees under different models (previously, a lot of fees were deducted).

Changed

  • Remove @vercel/analytics
  • Remove sentry
  • Temporarily remove prompt market, refactor and go online before next weekend
  • Refactor most of the logic related to zustand status, greatly reduce the number of renders, and improve the overall performance.
  • Replace plausible with umami for monitoring