Ant-design-mobile: Discuss about which rc-component need to rewrite to rmc-component

Created on 29 Jul 2017  ·  5Comments  ·  Source: ant-design/ant-design-mobile

收集意见与评估下哪些 rc-component 需要拆分移动版,不再与 antd 使用公共的底层依赖。

因为 pc 组件有键盘访问,鼠标事件等很多其他 mobile 用不到的冗余特性,而目前也没有做好模块化和按需加载。

discussion

Most helpful comment

  • [x] rc-steps 需要去除特定浏览器下的 fix 代码, prop-types => ts
  • [ ] rc-slider 去除 tooltip 相关, prop-types => ts
  • [ ] rc-notification, prop-types => ts
  • [ ] rc-drawer,rc-collapse, rc-checkbox, prop-types => ts
    这些我统一来处理

All 5 comments

优先级放低,看 2.0 的开发进度。

为了解决 preact 兼容性, dialog 要做改动 => m-dialog

  • [x] rc-dialog => rmc-dialog @silentcloud
  • [x] rc-touchable => rmc-feedback @silentcloud
  • [x] rc-tooltip => rmc-tooltip @silentcloud
  • [x] rc-trigger => rmc-trigger @silentcloud
  • [x] rc-align => rmc-align @silentcloud
  • [x] rc-input-number => rmc-input-number @zhang740
  • [x] rc-tabs => rmc-tabs @zhang740
  • [x] rc-steps 需要去除特定浏览器下的 fix 代码, prop-types => ts
  • [x] rc-steps 需要去除特定浏览器下的 fix 代码, prop-types => ts
  • [ ] rc-slider 去除 tooltip 相关, prop-types => ts
  • [ ] rc-notification, prop-types => ts
  • [ ] rc-drawer,rc-collapse, rc-checkbox, prop-types => ts
    这些我统一来处理

prop-types => ts 感觉可以在 2.0 发布时新增一个卖点,代码全部改为了 ts 、推荐用户使用 ts

prop-types => ts 感觉可以在 2.0 发布时新增一个卖点,代码全部改为了 ts 、推荐用户使用 ts

这个 ok 的

rc 底层 prop-types => ts 这个暂时不处理了(min.js 不会有prop-types), 在 antd-mobile 里做 ts 定义就行了

Was this page helpful?
0 / 5 - 0 ratings