-
Notifications
You must be signed in to change notification settings - Fork 157
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
feat: remove findDomNode #295
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 eslint
examples/basic.tsxOops! Something went wrong! :( ESLint: 8.57.1 Error: Cannot read config file: /.eslintrc.js
变更概览变更说明本次拉取请求包含对 变更
序列图sequenceDiagram
participant Dev as 开发者
participant App as 应用程序
participant List as 虚拟列表
Dev->>App: 启动开发服务器
App->>List: 初始化虚拟列表
List-->>App: 列表准备就绪
Dev->>List: 调用 scrollTo 方法
Note over List: 安全地处理方法调用
可能相关的 PRs
诗歌
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
what this PR does
findDOMNode
.Summary by CodeRabbit
文档更新
9001
更改为8000
代码改进
Demo
组件中使用可选链接?.
优化scrollTo
方法调用useHeights
钩子中的高度收集逻辑,直接访问 DOM 元素属性