Refactor: Remove original Dart references from comments across multiple files
- Updated comments in various components, schemas, and repositories to remove references to original Dart files. - Ensured consistency in documentation while maintaining the context of the code.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* 响应式断点 hook
|
||||
*
|
||||
* 原始 Dart: lib/ui/core/responsive.dart 的 `Responsive` widget + `isDesktop/isTablet/isMobile` 静态方法。
|
||||
*
|
||||
*
|
||||
* 实现要点(与 `src/lib/auth/use-auth-gate.tsx` 同款 `useSyncExternalStore` 模式):
|
||||
* - `subscribe` 监听 3 个 media query 的 change 事件,调用方重读 snapshot。
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* 下拉刷新 hook(占位实现)
|
||||
*
|
||||
* 原始 Dart: `easy_refresh` 包的 `EasyRefresh.builder`(chat_area.dart 用来加载更多历史消息)。
|
||||
*
|
||||
*
|
||||
* 当前实现:最小可用版本 —— 监听顶部 overscroll 触发 onRefresh。
|
||||
* 后续可替换为 react-use / react-easy-refresh。
|
||||
|
||||
Reference in New Issue
Block a user