mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
docs:add an FAQ entry explaining the deprecation of the List component. (#56075)
* docs:add an FAQ entry explaining the deprecation of the List component. Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs:add an english FAQ entry explaining the deprecation of the List component. Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs:add faq anchor point Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs:add enflish faq anchor point Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs:format Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs:format Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs: format english Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs: del faq embed Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> * docs: format english Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> --------- Signed-off-by: Iristack <107678261+Iristack@users.noreply.github.com> Co-authored-by: 遇见同学 <1875694521@qq.com>
This commit is contained in:
@@ -107,3 +107,19 @@ More about pagination, please check [`Pagination`](/components/pagination/).
|
||||
## Design Token
|
||||
|
||||
<ComponentTokenTable component="List"></ComponentTokenTable>
|
||||
|
||||
## FAQ {#faq}
|
||||
### Is there a replacement for the deprecated List component? {#faq-listy-replacement}
|
||||
|
||||
In Ant Design v6, we will introduce a brand-new Listy component as the successor to List.
|
||||
|
||||
Listy comes with built-in virtual scrolling and places greater emphasis on flexible layout control, empowering developers to build highly customizable lists tailored to various business scenarios.
|
||||
|
||||
The underlying implementation, rc-listy, is already largely complete and is currently awaiting review and further adjustments by core maintainers.
|
||||
|
||||
Ant Design v6 will officially provide the Listy component based on rc-listy.
|
||||
|
||||
Related links:
|
||||
|
||||
- Pull Request: [PR #54182](https://github.com/ant-design/ant-design/pull/54182)
|
||||
- RFC Discussion: [Discussion #54458](https://github.com/ant-design/ant-design/discussions/54458)
|
||||
|
||||
@@ -110,3 +110,20 @@ List 组件已经进入废弃阶段,将于下个 major 版本移除。
|
||||
## 主题变量(Design Token){#design-token}
|
||||
|
||||
<ComponentTokenTable component="List"></ComponentTokenTable>
|
||||
|
||||
## FAQ {#faq}
|
||||
|
||||
### List 组件废弃后,有替代方案吗? {#faq-listy-replacement}
|
||||
|
||||
在 Ant Design v6 中,我们将推出一个全新的 Listy 组件作为 List 的继任者。
|
||||
|
||||
Listy 内置虚拟滚动能力,并更加强调灵活的布局控制,旨在帮助开发者根据不同业务场景更高效地实现自定义列表。
|
||||
|
||||
目前,底层实现 rc-listy 已基本开发完成,正在等待核心维护者的评审与后续调整。
|
||||
|
||||
Ant Design v6 将基于 rc-listy 正式提供 Listy 组件。
|
||||
|
||||
相关链接:
|
||||
|
||||
- Pull Request: [PR #54182](https://github.com/ant-design/ant-design/pull/54182)
|
||||
- RFC 讨论: [Discussion #54458](https://github.com/ant-design/ant-design/discussions/54458)
|
||||
|
||||
Reference in New Issue
Block a user