Loading...
Loading...
Compare original and translation side by side
| Priority | Category | Rules | Impact |
|---|---|---|---|
| CRITICAL | Query Keys | 5 rules | Prevents cache bugs and data inconsistencies |
| CRITICAL | Caching | 5 rules | Optimizes performance and data freshness |
| HIGH | Mutations | 6 rules | Ensures data integrity and UI consistency |
| HIGH | Error Handling | 3 rules | Prevents poor user experiences |
| MEDIUM | Prefetching | 4 rules | Improves perceived performance |
| MEDIUM | Parallel Queries | 2 rules | Enables dynamic parallel fetching |
| MEDIUM | Infinite Queries | 3 rules | Prevents pagination bugs |
| MEDIUM | SSR Integration | 4 rules | Enables proper hydration |
| LOW | Performance | 4 rules | Reduces unnecessary re-renders |
| LOW | Offline Support | 2 rules | Enables offline-first patterns |
| 优先级 | 类别 | 规则数量 | 影响 |
|---|---|---|---|
| 关键(CRITICAL) | 查询键(Query Keys) | 5条规则 | 避免缓存错误和数据不一致 |
| 关键(CRITICAL) | 缓存(Caching) | 5条规则 | 优化性能与数据新鲜度 |
| 高(HIGH) | 变更操作(Mutations) | 6条规则 | 确保数据完整性与UI一致性 |
| 高(HIGH) | 错误处理(Error Handling) | 3条规则 | 避免糟糕的用户体验 |
| 中(MEDIUM) | 预获取(Prefetching) | 4条规则 | 提升感知性能 |
| 中(MEDIUM) | 并行查询(Parallel Queries) | 2条规则 | 支持动态并行获取 |
| 中(MEDIUM) | 无限滚动查询(Infinite Queries) | 3条规则 | 避免分页错误 |
| 中(MEDIUM) | SSR集成(SSR Integration) | 4条规则 | 实现正确的水合(hydration) |
| 低(LOW) | 性能优化(Performance) | 4条规则 | 减少不必要的重渲染 |
| 低(LOW) | 离线支持(Offline Support) | 2条规则 | 支持离线优先模式 |
qk-qk-qk-array-structureqk-include-dependenciesqk-hierarchical-organizationqk-factory-patternqk-serializableqk-array-structureqk-include-dependenciesqk-hierarchical-organizationqk-factory-patternqk-serializablecache-cache-cache-stale-timecache-gc-timecache-defaultscache-invalidationcache-placeholder-vs-initialcache-stale-timecache-gc-timecache-defaultscache-invalidationcache-placeholder-vs-initialmut-mut-mut-invalidate-queriesmut-optimistic-updatesmut-rollback-contextmut-error-handlingmut-loading-statesmut-mutation-statemut-invalidate-queriesmut-optimistic-updatesmut-rollback-contextmut-error-handlingmut-loading-statesmut-mutation-stateerr-err-err-error-boundarieserr-retry-configerr-fallback-dataerr-error-boundarieserr-retry-configerr-fallback-datapf-pf-pf-intent-prefetchpf-route-prefetchpf-stale-time-configpf-ensure-query-datapf-intent-prefetchpf-route-prefetchpf-stale-time-configpf-ensure-query-datainf-inf-inf-page-paramsinf-loading-guardsinf-max-pagesinf-page-paramsinf-loading-guardsinf-max-pagesssr-ssr-ssr-dehydrationssr-client-per-requestssr-stale-time-serverssr-hydration-boundaryssr-dehydrationssr-client-per-requestssr-stale-time-serverssr-hydration-boundaryparallel-parallel-parallel-use-queriesquery-cancellationparallel-use-queriesquery-cancellationperf-perf-perf-select-transformperf-structural-sharingperf-notify-change-propsperf-placeholder-dataperf-select-transformperf-structural-sharingperf-notify-change-propsperf-placeholder-dataoffline-offline-network-modepersist-queriesnetwork-modepersist-queriesrules/rules/rules/rules/