<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by zombiej on Medium]]></title>
        <description><![CDATA[Stories by zombiej on Medium]]></description>
        <link>https://medium.com/@smith3816?source=rss-a9ddf45c6fa3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*5ePI9jtzYcwkGkIOXKLpWQ.jpeg</url>
            <title>Stories by zombiej on Medium</title>
            <link>https://medium.com/@smith3816?source=rss-a9ddf45c6fa3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 17:57:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@smith3816/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ Ant Design 6.0 is Here! ]]></title>
            <link>https://medium.com/ant-design/ant-design-6-0-is-here-0f5b2803e6a0?source=rss-a9ddf45c6fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f5b2803e6a0</guid>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[ant-design]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[zombiej]]></dc:creator>
            <pubDate>Mon, 24 Nov 2025 08:04:33 GMT</pubDate>
            <atom:updated>2025-11-24T08:04:33.427Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Since its open-sourcing, Ant Design has garnered 96.6K Stars, accumulated 31.9K issues, 20.7K PRs, released 904 npm versions, and has had 2314 contributors participate in its development. These numbers not only represent the community’s activity and support but also witness the project’s continuous evolution and maturation.</p><p>It is because of you that Ant Design can continue to grow and move towards its next stop: <a href="https://github.com/ant-design/ant-design/discussions/51919">《Plan about Ant Design 6.0》</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FUmktaJcTenX0z0j" /></figure><p>After extensive RFC discussions and multiple Alpha version iterations, v6 has now entered a stable phase. Today, we are announcing the official release of Ant Design v6!</p><p>This upgrade focuses on deep technical optimizations, aiming to provide better compatibility and performance for React 19 and future versions (with version compatibility raised to React 18), and to further improve the semantic structure of components and CSS variable support.</p><p>Unlike v5, this upgrade is a smooth version migration:</p><ul><li>If your project is already running on v5, you can upgrade directly to v6 without needing a compatibility package or codemod tool.</li><li>The v5 main branch will switch to v5.x-stable and enter a 1-year maintenance period.</li><li>We will no longer provide functional updates to v5 unless there is a particularly serious bug.</li></ul><h3>Technical Upgrades and Core Changes</h3><h3>⚛ Minimum React Version Requirement Raised to 18</h3><p>v6 supports versions from React 18 onwards, removing compatibility logic for React versions prior to this, thus avoiding API behavior differences between different versions.<br>We still recommend using the latest React 19 version for the best experience.</p><p>For static methods like Modal.confirm, you no longer need extra compatibility code or dependencies, and can directly remove the relevant compatibility code:</p><pre>-- import &#39;@ant-design/v5-patch-for-react-19&#39;;</pre><h4>📦 React Compiler Enabled in dist</h4><p>Enabled React Compiler in the bundled outputs antd.js and antd.min.js to improve performance. Users in CJS/ESM environments can choose to enable it as needed. For more details, refer to the <a href="https://react.dev/learn/react-compiler">React documentation</a>.</p><h3>🌈 Pure CSS Variables Style Architecture</h3><p>With the complete removal of IE support, @ant-design/cssinjs in v6 defaults to the pure CSS Variables mode:</p><ul><li>Lighter style switching, supporting real-time theme changes.</li><li>Reduced bundle size through multi-theme reuse.</li><li>Supports zero-runtime style generation, which can be used with @ant-design/static-style-extract:</li></ul><pre>&lt;ConfigProvider theme={{ zeroRuntime: true }}&gt;<br>  &lt;App /&gt;<br>&lt;/ConfigProvider&gt;</pre><p>The performance comparison is as follows, with zeroRuntime mode performing the best(compared with theme count):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YiN0h7rmMfwXOFJF" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZAnB2VmFBl7DjQ7c" /></figure><p>You can get the full variable name through useToken:</p><pre>const App = () =&gt; {<br>  const {<br>    cssVar: { colorBgElevated },<br>  } = theme.useToken();<br>};</pre><h4>🚫 IE Support Discontinued</h4><p>The CSS Variables mode completely removes the StyleProvider for IE compatibility.</p><h3>🧩 Semantic Structure for All Components</h3><p>v6 has completed the DOM semantic transformation for all components:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*0GW6dGjV-4aB818o" /></figure><ul><li><a href="https://github.com/ant-design/ant-design/issues/52115">Ant Design v6 tasks #52115</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/0*TsK3UD0keXr1RpLF" /></figure><ul><li><a href="https://github.com/ant-design/ant-design/issues/54995">Support better customization with semantic classNames/styles #54995</a></li><li>APIs use logical position descriptions (e.g., start / end) and support RTL.</li><li>The internal structure can be uniformly configured using ConfigProvider’s classNames and styles.</li><li>Supports functional dynamic generation of semantic structure:</li></ul><pre>const btnClassNames: ButtonProps[&#39;classNames&#39;] = ({ props }) =&gt; {<br>  switch (props.type) {<br>    case &#39;primary&#39;:<br>      return { ... };<br>    default:<br>      return { ... };<br>  }<br>};</pre><pre>&lt;ConfigProvider button={{ classNames: btnClassNames }}&gt;<br>  &lt;App /&gt;<br>&lt;/ConfigProvider&gt;</pre><h4>Playful Icon Button</h4><pre>&lt;Button<br>  classNames={{<br>    root: &#39;rounded-tr-xl rounded-bl-xl&#39;,<br>    icon: &#39;rotate-30&#39;,<br>  }}<br>  icon={&lt;SmileOutlined /&gt;}<br>&gt;<br>  Ant Design<br>&lt;/Button&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/0*sVx9PeLn2_BfVnBP" /></figure><h4>Geek-style Card</h4><pre>&lt;Card<br>  title=&quot;Hello World&quot;<br>  classNames={{<br>    root: &quot;bg-green-300/10 text-green-500 border-green-500 rounded-none [box-shadow:0_0_8px_theme(colors.green.500)]&quot;,<br>    header: &quot;rounded-none border-green-500 [box-shadow:inset_0_0_8px_theme(colors.green.500)]&quot;,<br>    title:<br>      &quot;text-green-500 [text-shadow:0_0_12px_theme(colors.green.400)] overflow-visible&quot;,<br>      body: &quot;rounded-none [text-shadow:0_0_8px_theme(colors.green.400)] [box-shadow:inset_0_0_12px_theme(colors.green.500)]&quot;<br>  }}<br>&gt;<br>  Ant Design loves you!~ (=^・ω・^)<br>&lt;/Card&gt;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/0*J7U9QLiEHnGE2gQO" /></figure><h3>🚫 Removed v4 Deprecated APIs</h3><p>v6 removes all APIs that were deprecated in v4 and kept for compatibility in v5:</p><ul><li>findDOMNode compatibility logic is removed.</li><li>Documentation for List, Dropdown.Button, BackTop is removed, but compatibility is retained.</li><li>React 18 compatibility code is deleted (directly supports 18).</li><li>Unified API naming style, compatible with all v5 APIs.</li></ul><h3>New Components and Enhancements</h3><h3>🔥 Masonry Component</h3><p>For scenarios like image galleries, card streams, etc.:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OkDEmsiFtO7b3DW4" /></figure><h3>🔥 Tooltip Supports Panning and Sliding</h3><p>Enable panning and sliding between multiple tooltip contents:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/0*2iN-Kx-xTd6syYcE" /></figure><h3>🆕 InputNumber spinner Mode</h3><p>A common button layout style, making it easy for users to click and interact directly:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/0*ZkSHA7txLXOdrY75" /></figure><h3>🆕 Drawer Supports Resizing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/0*vKza301x1aY-GIJZ" /></figure><h3>🎨 Mask Blur Background</h3><p>All overlay layers use a blur effect by default, which can be turned off via mask: { blur: false }:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s7JCsG4eS_i7glcN" /></figure><h3>Upgrade Guide</h3><ul><li>v6 is fully compatible with v5 and can be upgraded directly.</li><li>It is recommended to replace deprecated APIs according to the warnings.</li><li>The project needs to run on React 18 or a higher version.</li><li>IE is no longer supported.</li></ul><h3>Future Plans</h3><ul><li>Optimize mobile interaction experience.</li><li>Enhance Accessibility support.</li><li>Follow up on new React features to improve performance.</li><li>More new components are in development, please stay tuned.</li></ul><h3>One More Thing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Rx5q8yPh-hkcj0jJ" /></figure><p>🚀 Ant Design X is simultaneously releasing version 2.0. As Ant Design’s component library for AI scenarios, the new version brings more powerful interaction and rendering capabilities. If you are exploring AI-driven interface experiences, now is the best time: <a href="https://github.com/ant-design/x/issues/1357">🎉 Ant Design X 2.0 is here! 🎉</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kYTv9h41q54dO5VS" /></figure><h3>A Final Word</h3><p>Ant Design has gone through 10 years since its first line of code. We hope that in the wave of AI, Ant Design will remain your best partner. Thanks to all the friends who contributed to v6. — Because of your participation, open source is so wonderful:</p><p><a href="https://github.com/984507092">984507092</a><br><a href="https://github.com/afc163">afc163</a><br><a href="https://github.com/aojunhao123">aojunhao123</a><br><a href="https://github.com/Arktomson">Arktomson</a><br><a href="https://github.com/cactuser-Lu">cactuser-Lu</a><br><a href="https://github.com/ccc1018">ccc1018</a><br><a href="https://github.com/codewizardTM">codewizardTM</a><br><a href="https://github.com/coding-ice">coding-ice</a><br><a href="https://github.com/crazyair">crazyair</a><br><a href="https://github.com/divyeshagrawal">divyeshagrawal</a><br><a href="https://github.com/elrrrrrrr">elrrrrrrr</a><br><a href="https://github.com/EmilyyyLiu">EmilyyyLiu</a><br><a href="https://github.com/fireairforce">fireairforce</a><br><a href="https://github.com/GinWU05">GinWU05</a><br><a href="https://github.com/guoyunhe">guoyunhe</a><br><a href="https://github.com/hcjlxl">hcjlxl</a><br><a href="https://github.com/JeeekXY">JeeekXY</a><br><a href="https://github.com/Jerryqun">Jerryqun</a><br><a href="https://github.com/jin19980928">jin19980928</a><br><a href="https://github.com/jon-cullison">jon-cullison</a><br><a href="https://github.com/kiner-tang">kiner-tang</a><br><a href="https://github.com/li-jia-nan">li-jia-nan</a><br><a href="https://github.com/Linkodt">Linkodt</a><br><a href="https://github.com/lovelts">lovelts</a><br><a href="https://github.com/MadCcc">MadCcc</a><br><a href="https://github.com/meet-student">meet-student</a><br><a href="https://github.com/nmsn">nmsn</a><br><a href="https://github.com/OysterD3">OysterD3</a><br><a href="https://github.com/Psiphonc">Psiphonc</a><br><a href="https://github.com/Susuperli">Susuperli</a><br><a href="https://github.com/tanjiahao24">tanjiahao24</a><br><a href="https://github.com/thinkasany">thinkasany</a><br><a href="https://github.com/ug-hero">ug-hero</a><br><a href="https://github.com/wanpan11">wanpan11</a><br><a href="https://github.com/Wxh16144">Wxh16144</a><br><a href="https://github.com/xkhanhan">xkhanhan</a><br><a href="https://github.com/yellowryan">yellowryan</a><br><a href="https://github.com/yoyo837">yoyo837</a><br><a href="https://github.com/zjr222">zjr222</a><br><a href="https://github.com/zombieJ">zombieJ</a><br><a href="https://github.com/Zyf665">Zyf665</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f5b2803e6a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ant-design/ant-design-6-0-is-here-0f5b2803e6a0">🎉 Ant Design 6.0 is Here! 🎉</a> was originally published in <a href="https://medium.com/ant-design">Ant Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ant Design X 1.0 is out]]></title>
            <link>https://medium.com/ant-design/ant-design-x-1-0-is-out-3ff7ac401dd7?source=rss-a9ddf45c6fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ff7ac401dd7</guid>
            <category><![CDATA[ant-design]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[zombiej]]></dc:creator>
            <pubDate>Tue, 17 Dec 2024 11:36:00 GMT</pubDate>
            <atom:updated>2024-12-17T11:36:00.846Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Ant Design X is a brand new AGI component library from Ant Design, designed to help developers more easily develop AI product user interfaces. Building on Ant Design, Ant Design X further expands the design specifications for AI products, offering developers more powerful tools and resources. We look forward to driving the development of AI technology with you!</p><ul><li>Official Website: <a href="https://x.ant.design/">https://x.ant.design</a></li><li>GitHub Repo: <a href="https://github.com/ant-design/x">https://github.com/ant-design/x</a></li><li>npm：<a href="https://www.npmjs.com/package/@ant-design/x">@ant-design/x</a></li><li>Design Assets：<a href="https://github.com/ant-design/x/discussions/256">RICH — Sketch</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-I36vOrEib-cmznm" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8ejwM7w98g0GeZ6n" /></figure><h3>Design Philosophy</h3><p>Ant Design X builds a systematic theory and methodology for AI product design — the “RICH Design Paradigm” — to help everyone understand what an AI product interface is and create an excellent AI product experience.</p><p>This theory and methodology guide us to focus not only on the tangible interface experience but also on the intangible experience rules. It will lead us through the AI design journey, gradually identifying invisible experience rules such as intent, roles, conversations, and defining hybrid interface forms that integrate various interaction modes like natural language conversation. Want to know more? Visit the <a href="https://x.ant.design/docs/spec/introduce">Design Module</a> on the official Ant Design X website!</p><h3>Rich Components</h3><p>The design paradigm is split into multiple components, giving developers great flexibility in combination. Additionally, we provide technical tools that make data consumption ready to use out of the box, enabling a single X to accomplish all front-end development work:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*srruzrHsTssOYYFu" /></figure><h4>Combinable as Needed</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*azzfG_qzJmDD9Ahi" /></figure><h3>Future Plans</h3><p>Ant Design X aims to provide a consistent user experience with Ant Design, making it easy to expand and integrate with existing projects. In the future, we will also offer style extensions for mobile design specifications, enabling developers to conduct multi-terminal development simultaneously. Stay tuned.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1Es6rTZRirX99cZ5" /></figure><h3>In Conclusion</h3><p>As a community-driven open-source project, Ant Design has greatly benefited from the help of the community. We thank everyone!</p><p>We hope that Ant Design X will not only help developers improve work efficiency and reduce the learning curve but also provide consistent and high-quality user experiences through detailed design specifications and a friendly development environment, helping developers tackle various complex design needs with ease.</p><p>So, give it a try: <a href="https://x.ant.design/">https://x.ant.design/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ff7ac401dd7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ant-design/ant-design-x-1-0-is-out-3ff7ac401dd7">Ant Design X 1.0 is out</a> was originally published in <a href="https://medium.com/ant-design">Ant Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ant Design 4.0 is out!]]></title>
            <link>https://medium.com/ant-design/ant-design-4-0-is-out-dd13be64c265?source=rss-a9ddf45c6fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd13be64c265</guid>
            <category><![CDATA[ant-design]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[zombiej]]></dc:creator>
            <pubDate>Fri, 28 Feb 2020 05:09:34 GMT</pubDate>
            <atom:updated>2020-02-29T14:33:45.368Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*COH7bZFlgErxr78c.png" /></figure><h3>Introduction</h3><p>We released the 4.0 rc version on SEE Conf. After more than a month of feedback collection and adjustment, it time to release 4.0! Thanks to everyone who provided feedback, suggestions, and contributions during this period. We will combine the updates already involved in the rc version and some update recently here. The complete updated documentation can be <a href="https://ant.design/changelog">found here</a>. v4 document address: <a href="https://ant.design/">https://ant.design</a></p><p>It should be noted that the v3 version merged into the 3.x-stable branch in December 2019 and went into maintenance. We will still perform half-year maintenance work for the v3 version. Maintenance deadline is May 2020.</p><h3>Design specification upgrade</h3><p>We have adjusted the base rounded corners from 4px to2px. The fillet itself is a detail, and in the middle and background scenes, we take efficiency as the first priority, so we reduce the visual details of the interface and improve the efficiency of interface information reading. In addition, we have adjusted the shadows to make them more consistent with real shadows, while also emphasizing the information hierarchy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1h4N7M54N0yoDnYO" /></figure><h3>Dark theme</h3><p>We have upgraded the color system based on the v3 version, and v4 provides a dark theme. You can click the switch theme function on the page to see the dark theme effect:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UzYGa1o5pDbzEr93" /></figure><h3>Borderless component</h3><p>In the daily work, we found that there are lightweight selection components in some scenarios. So we provide a new borderless style that allows developers to more easily embed these components without overriding the style.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/0*Ms7kKB-CgA441I-J.png" /></figure><h3>Compatibility adjustment</h3><p>Ant Design 3.0 has made a lot of efforts to be compatible with older versions of IE. However, according to industry statistics, both the global and domestic IE9 / 10 browsers are shrinking with Windows system updates. We stopped supporting IE 9/10 at 4.0 (but will still support IE 11). Therefore, some low-performance components in the past will also gain performance with the new css features.</p><p>At the same time, we also upgraded the minimum version of React that v4 depends on to React 16.9. This means that the v4 version will provide more hooks to simplify your code.</p><p>In addition, we have removed some obsolete APIs that were warned in the v3 release. We strongly recommend that you upgrade your current project to the last version of v3 and update the deprecated API based on the warning message.</p><h3>Smaller size</h3><p>In antd @ 3.9.0, we introduced the svg icon (Why use the svg icon?). The icon API using the string name cannot be loaded on demand, so the svg icon file is fully introduced, which greatly increases the size of the packaged product. In 4.0, we adjusted the icon usage API to support tree shaking, reducing the default package size of Antant by about 150 KB (Gzipped).</p><p>Legacy Icon usage will be discarded:</p><pre>import { Icon, Button } from &#39;antd&#39;;<br>const Demo = () =&gt; (<br>  &lt;div&gt;<br>    &lt;Icon type=&quot;smile&quot; /&gt;<br>    &lt;Button icon=&quot;smile&quot; /&gt;<br>  &lt;/div&gt;<br>);</pre><p>In 4.0, it will be introduced on demand:</p><pre>  import { Button } from &#39;antd&#39;; // tree-shaking supported<br>- import { Icon } from &#39;antd&#39;;<br>+ import { SmileOutlined } from &#39;@ant-design/icons&#39;;  const Demo = () =&gt; (<br>    &lt;div&gt;<br>-     &lt;Icon type=&quot;smile&quot; /&gt;<br>+     &lt;SmileOutlined /&gt;<br>      &lt;Button icon={&lt;SmileOutlined /&gt;} /&gt;<br>    &lt;/div&gt;<br>  );  // or directly import<br>  import SmileOutlined from &#39;@ant-design/icons/SmileOutlined&#39;;</pre><p>In addition, we have also removed some related dependencies to reduce gzipped bundle size:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-djDWjrO6ZLPmabl.png" /></figure><h3>Component rewrite</h3><h3>Form rewrite</h3><p>Form, as a high-frequency component, has a slightly redundant API. The user needs to obtain the form instance through the HOC of Form.create, and use form.getFieldDecorator to perform data binding on the component. In addition, the entire form is re-rendered every time the data changes, which makes performance worrying in big data forms. In the v4 version, Form will come with a form instance. You can directly bind data through the name property of Form.Item, thereby simplifying your code:</p><pre>- const { form } = this.props;<br>- const onSubmit = () =&gt; {<br>-   form.validateFields((err, values) =&gt; {<br>-     if (!err) {<br>-      console.log(&#39;Received values of form: &#39;, values);<br>-    }<br>-   });<br>- };+ const onFinish = (values) =&gt; {<br>+   console.log(&#39;Received values of form: &#39;, values);<br>+ };- &lt;Form onSubmit={onSubmit}&gt;<br>+ &lt;Form onFinish={onFinish}&gt;<br>-   &lt;Form.Item&gt;<br>+   &lt;Form.Item name=&quot;username&quot;&gt;<br>-     {getFieldDecorator(&#39;username&#39;)(<br>-       &lt;Input /&gt;,<br>-     )}<br>+     &lt;Input /&gt;<br>    &lt;/Form.Item&gt;<br>  &lt;/Form&gt;</pre><p>We found that in most scenarios, the developer is actually only concerned with the values that the form submits successfully. So we provide onFinish, which will only fire after the form validation passes, and validateFields are no longer needed.</p><p>Besides, Form provides the hooks method Form.useForm to allow you to control the form example:</p><pre>const [form] = Form.useForm();React.useEffect(() =&gt; {<br>  form.setFieldValues({ ... });<br>});&lt;Form form={form} /&gt;</pre><p>At the same time, we provide the Form.List component, so that you can easily control the list fields:</p><pre>&lt;Form.List name=&quot;names&quot;&gt;<br>  {(fields, { add, remove }) =&gt; (<br>    &lt;div&gt;<br>      {fields.map(field) =&gt; &lt;Form.Item {...field}&gt;&lt;Input /&gt;&lt;/Form.Item&gt;}<br>      &lt;Button onClick={() =&gt; add(initialValue)}&gt;Add&lt;/Button&gt;<br>    &lt;/div&gt;<br>  }<br>&lt;/Form.List&gt;</pre><h3>Table rewrite</h3><p>Because we have adjusted the minimum requirements for compatibility, we have changed to the implementation of fixed columns using the sticky style, thereby greatly reducing the performance consumption when the form has fixed columns. For IE 11 that does not support sticky, we take downgrade processing.</p><p>At the same time, we provide a new summary API to achieve the effect of the summary line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OX4tjy5yJnc6XGwV" /></figure><p>The sorter provides a multi-column sorting function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kY__6j3mT5fZYpGo" /></figure><p>In addition, we adjusted the underlying logic so that fixedColumn,expandable and scroll can now be mixed. Provides a body API for customizing table content implementations, from which you can implement effects such as virtual scrolling.</p><h3>New DatePicker, TimePicker and Calendar</h3><p>We have rewritten the date component as a whole to decouple it from moment. You can generate Picker components for custom date libraries using the generate method we provide. To maintain compatibility, the default Picker component still uses moment as the date library. Please refer to <a href="https://ant.design/docs/react/replace-moment">here</a> for custom date library.</p><p>In addition, we provide a full set of time, date, week, month, year selectors and corresponding range selectors. You can set it through the picker property, instead of implementing the special selector through the controlled method of mode:</p><pre>&lt;RangePicker /&gt;<br>&lt;RangePicker showTime /&gt;<br>&lt;RangePicker picker=&quot;week&quot; /&gt;<br>&lt;RangePicker picker=&quot;month&quot; /&gt;<br>&lt;RangePicker picker=&quot;year&quot; /&gt;</pre><p>For range selector, we have also optimized the interaction. You can now select the start or end time individually, and it perfectly optimizes the manual date entry experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y_sIDJxt2vuUSMN_" /></figure><h3>Notification/Modal support Hooks</h3><p>In the past, you may have encountered the problem that Modal.xxx and Notification.xxx call methods cannot get Context. This is because we will additionally create a React instance through ReactDOM.render for these syntactic sugars, which also causes the problem of context loss. In the new version, we provide the hooks method, which allows you to inject nodes where you need to get the context:</p><pre>const [api, contextHolder] = notification.useNotification();</pre><pre>return (<br>  &lt;Context1.Provider value=&quot;Ant&quot;&gt;<br>    {/* contextHolder is in Context1 which mean api will not get context of Context1 */}<br>    {contextHolder}<br>    &lt;Context2.Provider value=&quot;Design&quot;&gt;<br>      {/* contextHolder is out of Context2 which mean api will not get context of Context2 */}<br>    &lt;/Context2.Provider&gt;<br>  &lt;/Context1.Provider&gt;<br>);</pre><h3>Virtual scroll</h3><p>In v4, we have upadated Tree, TreeSelect, and Select. By default, they use virtual scrolling technology to optimize their performance to carry a large amount of option rendering.</p><p><a href="https://ant.design/components/select/#components-select-demo-big-data">Living demo</a></p><p>In addition, keyboard interaction and accessibility are optimized.</p><h3>More new features / features / optimizations</h3><ul><li>ConfigProvider provides direction configuration to supportrtl language internationalization.</li><li>Form and ConfigProvider support size setting including component size.</li><li>Typography adds suffix attribute.</li><li>Progress adds steps subcomponent.</li><li>TextArea supports onResize.</li><li>Grid uses flex layout.</li><li>……</li></ul><p>You can click <a href="https://ant.design/changelog">here</a> to see the full update log.</p><h3>How to upgrade</h3><p>To make the upgrade as easy as possible, we maintain maximum compatibility. But there are still some breaking changes that need attention. You can first try to migrate using the codemod tool provided by us, and manually migrate some parts that cannot be migrated. Please refer to <a href="https://ant.design/docs/react/migration-v4">the document</a> for upgrading.</p><h3>Above all</h3><p>The birth of Ant Design 4.0 is inseparable from the contributions and support of community volunteers. Thanks to <a href="https://github.com/saeedrahimi">@saeedrahimi</a> for the internationalization of rtl, [<a href="https://github.com/shaodahong">@shaodahong</a>](https: / /github.com/shaodahong) Contributions to Compatibility Packs, and everyone involved in helping development. It is your contribution to open source that makes Ant Design even better!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd13be64c265" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ant-design/ant-design-4-0-is-out-dd13be64c265">Ant Design 4.0 is out!</a> was originally published in <a href="https://medium.com/ant-design">Ant Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ant Design 4.0 is in progress!]]></title>
            <link>https://medium.com/ant-design/ant-design-4-0-is-in-progress-d46e53327038?source=rss-a9ddf45c6fa3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d46e53327038</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[ant-design]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[zombiej]]></dc:creator>
            <pubDate>Fri, 31 May 2019 03:20:06 GMT</pubDate>
            <atom:updated>2019-06-04T05:57:37.399Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eaiXHynzDE_z70xZzdhA8A.png" /></figure><h3>Recap</h3><p>Ant Design is an open source React UI framework on github: <a href="https://github.com/ant-design/ant-design">https://github.com/ant-design/ant-design</a></p><p>It has been 16 months since <a href="https://medium.com/ant-design/announcing-ant-design-3-0-70e3e65eca0c">December 2017</a> when Ant Design 3.0 was released. We fixed plenty of bugs and added lots of new features( <a href="https://ant.design/changelog">changelog</a>) within 4289 commits, 138 releases, 7675 issues &amp; PRs, that brought us 25375 stars in GitHub. We also released <a href="https://medium.com/ant-design/ant-design-pro-v4-is-here-6f23098ae9d9">Ant Design Pro 4.0</a>. Support for TypeScript, blocks, and abstraction of layouts. We want to thank every contributors and your contribution makes Ant Design better and better.</p><p>At the same time, we released Ant Design Pro 4.0. Support TypeScript, Block and Provides Layout component.</p><p>At this moment, we are thinking: Ok then, what’s next? What can we do to make Ant Design going further?** It is the time to plan for the Ant Design 4.0**! 🍻</p><p>Following is the detail plan about 4.0. We may adjust some of them since it’s still in planning.</p><h3>🌓 About Compatibility</h3><p>We will remove deprecated props in 4.0, which means deprecated props will be no longer supported. If you’re not getting any warning from latest 3.x, it will be seamless to upgrade. Otherwise, there will be hal year maintenace phase for 3.0 after 4.0 is released.</p><p>We know it’s troublesome to do upgrades. We’re planning to provide compatible package to handle this:</p><p>This package will be available till the end of 3.x maintenance phase.</p><p>We have provided React 15 support for a long time. But it seems not necessary from social feedback (There are nearly 0% of issues about React 15), since React has strong compatiblity. To support React 15, we use new API very carefully. This will be not a problem after 4.0 anymore:</p><ul><li>Provides Hooks api for related component</li><li>Support Concurrent mode (Still preparing, will continue adjust in 4.0)</li><li>Embrace React 17(wow！~)</li></ul><p>Ant Design 3.0 spends lots of effort to <a href="https://github.com/ant-design/ant-design/issues?utf8=%E2%9C%93&amp;q=is%3Aclosed+IE">support old IE</a>. But according to the industry statistics, usage of IE9/10 get lower and lower with Windows upgrade. We will stop support IE 9/10 in 4.0 (but still support IE 11), which means newer browser feature support will be possible.</p><ul><li>Less 2.x upgrade to Less 3.x</li><li>Icon adjustion</li><li>Mention deprecated</li></ul><h3>📦 Reduce size</h3><p>We use svg icon ( <a href="https://github.com/ant-design/ant-design/issues/10353">why svg?</a>) after antd@3.9.0 . We use string name to map the icon, which can not load on demand. We import all the icon file into antd which <a href="https://github.com/ant-design/ant-design/issues/12011">makes bundle size large</a>. We will handle this in 4.0.</p><p>Old Icon usage way will be** deprecated**:</p><p>Will use import single Icon instead in 4.0 :</p><p>You can still use <a href="https://yuque.antfin-inc.com/jilin.jjl/newhire/fndgiy#e8233958">compatible way</a> in old way.</p><p>We use Draft.js in Mention component to confirm popup location, but only a small part functionality of it is used. It seems over cost. We plan to remove Draft.js in 4.0, and use other light solution instead. At the same time, to distinguish with origin Mention component in 3.0, a new component Mentions will be introduced to avoid api conflict. Also, it supports <a href="https://yuque.antfin-inc.com/jilin.jjl/newhire/fndgiy/edit#e8233958">compatible way</a>:</p><h3>🧭 Performance optimization</h3><p>We get few <a href="https://github.com/ant-design/ant-design/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+slow+OR+performance+">performance issue</a> for large data set from community. We’ll make sure some optimization will be done here.</p><p>Virtual scrolling is a common way to do performance optimization. We’re planning to support this natively in components. It may not finish immediately in 4.0 release. Will integrate step by step.</p><p>We did some hack with animation in the past. It works well in most case. We plan to use much pure React way instead of hack one. This update will be in silence, nothing will affect you.</p><h3>🧩 Components Optimization</h3><p>We’ve add many components in 3.0, and will continue in 4.0. These components will come from business scenario, Ant Design Pro and social requirement. New components process will be same as Ant Design 3.0, we will put related design file in PR and collect it in the official website. Release in each minor version.</p><p>Besides, we plan to refactor some key components to make easier to use. Includes but not only:</p><p>Form is one of the most usage component. We notice that social have many comments on the API design.<br> We wish to simplify the API in 4.0:</p><ul><li>Form will include data store. No need to use Form.create() anymore.</li><li>Fom.Item will include field bind. No need to use getFieldDecorator anymore.</li><li>Form.Item will keep the value, but the validator will be disabled when field removed.</li></ul><p>In the real world, we meets lots of communication between forms (usually in detail configuration). We want to make it easier:</p><p>If you want to follow Form progress, you can <a href="https://github.com/react-component/form/pull/292">see here</a>.</p><p>In the past, we received lots of <a href="https://github.com/ant-design/ant-design/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+table">Table</a> feedback. We know that expand and scroll props not works well together. This time, we will focus to fix it. Besides, we will do much on the Table optimization. And easy way to do the layout：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KV4yXiNrm4Xth9R9YaJD9w.png" /></figure><p>We also plan to add <a href="https://github.com/ant-design/ant-design/issues/5710">Summary Footer</a> to support summary row.</p><p>Current DatePicker statifies most requirement. But from <a href="https://github.com/ant-design/ant-design/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+datepicker">community discussion</a>, we can dig it more. We will provide rest year picker and ranger picker ( <a href="https://github.com/ant-design/ant-design/issues/4524#issuecomment-480576884">discuss</a>). And also, we will update the DatePicker design style to enhance user experience.</p><h3>🚀 Continue updating</h3><p>Besides content above, we also plan to do some continue updating. These will keep updating in 4.0 to enhance development and user experience.</p><p>Ant Design 3.0 has limited support for accessibility, we plan to adjust the dom structure and add more aria mark to enhance the screen reader experience. Besides, we also prepare to optimize key board interaction.</p><h4>🎯 Developer API standard</h4><p>We find some API naming style is little different with others. It’s not a problem for Typescript developer, but it’s hard to remember otherwise.<br>Thus, we will create a naming standard document which includes current APIs and related naming rules. In new feature, will follow the naming rule to avoid API naming conflict. Also, we welcome community opinions about this in PR.</p><h4>💼 React Strict Mode</h4><p>If you tried wrap antd component with &lt;React.StrictMode&gt; , you will get warning. We&#39;ve already replace some components with new life cycle method. This work will continue in 4.0.</p><h4>💡 Improve developer experience</h4><p>In the past, we found that some issue comes repeatedly. These issues somehow are usage question. We think we can do something on this (actually already start in 3.0). In development environment, we will warning unexpected status (like invalidate Moment object, prefix/affix adjustment cause dom structure change, etc.). We believe that console is the first place to focus when meet problem. Provides proper tips can help to find the problem. At same time, we will summary other questions into FAQ of each Component document. From the side of maintenance, we can’t help on each usage question, but they do exist, particularly with new come developers. FAQ may help to save lots of searching time. If you have interest on this, welcome to help enhancing developer experience with us.</p><h4>🐱 Design Resource</h4><p>Ant Design is not only a component library. Design is the support power. We will sync update the design resource (Sketch component package, Kitchen tools, Design Token, etc.). We will also adjust current component style to enhance user experience.</p><h3>Milestones</h3><p>Here is our milestones plan. We will create related issue on Github. And also welcome social contributor:</p><ul><li>Mark related API as Deprecated and remove from document.</li><li>Low level component warn update.</li><li>Create antd 4.0 branch and update the document.</li><li>Components development.</li></ul><h3>Welcome aboard</h3><p>We will keep you posted during the developing process. Content above may not be final. Thought/advice from community will be more than welcome! Let’s make Ant Design 4.0 better!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d46e53327038" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ant-design/ant-design-4-0-is-in-progress-d46e53327038">Ant Design 4.0 is in progress!</a> was originally published in <a href="https://medium.com/ant-design">Ant Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>