Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
antd at qcon2016
yiminghe
April 22, 2016
Technology
1
130
antd at qcon2016
yiminghe
April 22, 2016
Tweet
Share
More Decks by yiminghe
See All by yiminghe
小程序终端技术架构
yiminghe
0
35
支付宝小程序的开放架构
yiminghe
0
70
gitc2016 react based architecture
yiminghe
1
110
react-based architecture
yiminghe
2
110
React Ecosystem At Ant Financial
yiminghe
4
1.9k
ant design preview
yiminghe
1
170
react best practice
yiminghe
3
120
react at alipay
yiminghe
43
3.9k
form validation in react
yiminghe
4
510
Other Decks in Technology
See All in Technology
ロボットの実行すらメンドクサイ!?
kou12092
0
230
セキュアなTerraformの使い方 ~ 機密情報をコードに含めず環境構築するにはどうしたらいいの?
harukasakihara
9
1.6k
大声で伝えたい!定時に帰る方法
sbtechnight
0
260
ソフトウェアアーキテクチャの基礎: Software Architecture in a Nutshell
snoozer05
31
9.2k
20220803投資先CXO候補者向け 会社紹介資料_合同会社BLUEPRINT
hik
0
630
Amazon SageMakerが存在しない世界線のAWS上で実現する機械学習基盤
sadynitro
0
120
Azure DevOps Online Vol.6 - 業務で必要なCIをみんなで考えよう
kkamegawa
0
300
賢く「振り分ける」ための Topology Aware Hints #k8sjp / Kubernetes Meetup Tokyo 52nd
ytaka23
1
290
eBPFで実現するコンテナランタイムセキュリティ / Container Runtime Security with eBPF
tobachi
PRO
5
1.9k
プロダクトマネージャーの役割と育成、評価
middleokada
18
12k
セキュリティ・キャンプ全国大会2022 企業紹介イベント/seccamp2022-nikkei
nikkei_engineer_recruiting
0
150
今 SLI/SLO の監視をするなら Sloth が良さそうという話
shotakitazawa
1
290
Featured
See All Featured
Streamline your AJAX requests with AmplifyJS and jQuery
dougneiner
127
8.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
269
12k
StorybookのUI Testing Handbookを読んだ
zakiyama
6
2.5k
Stop Working from a Prison Cell
hatefulcrawdad
262
17k
Support Driven Design
roundedbygravity
87
8.6k
Typedesign – Prime Four
hannesfritz
34
1.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
Six Lessons from altMBA
skipperchong
14
1.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
18
40k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
980
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
237
19k
Art Directing for the Web. Five minutes with CSS Template Areas
malarkey
196
9.5k
Transcript
ᡶᡵᰂ๐ڹᒒૡᑕ 不只是组件库 React Ant Design ࣁᡶᡵᰂ๐ጱਫ᪢ ؇ݦ | afc163
不只是组件库 React Ant Design ࣁᡶᡵᰂ๐ጱਫ᪢ ᡶᡵᰂ๐ڹᒒૡᑕ 2011 ଙےفඪ՞ਪ ֛ḵದ᮱ᕣᒒದᕟ
؇ݦ | afc163
React 和 Ant Design 在蚂蚁金服的实践 ᡶᡵᰂ๐ڹᒒૡᑕ 2011 ଙےفඪ՞ਪ ֛ḵದ᮱ᕣᒒದᕟ ᳩ๗ᨮᨱڹᒒचᏐᔄପ
& ૡٍᎸݎ ؇ݦ | afc163
antd რᕪ០ԏ᭲ ݒᬢ Ӿݣᦡᦇ React ದ Ꮈݎཛྷୗ
Ꮈݎཛྷୗ փᕹ ڹᒒ ᦡᦇ Ծߝᕪቘ ၥᦶ ݸᒒ + + +
+ ဋ᭗౮ṛ ӧᭇݳӾݣᎸݎᜓॵ ᩒრኒ᷀
ڹᒒ ᦡᦇ Ծߝᕪቘ ၥᦶ ݸᒒ + + + ဋ᭗౮ṛ ӧᭇݳӾݣᎸݎᜓॵ
ᩒრኒ᷀ ӱۓࢫᴚ
+ + + ဋ᭗౮ ṛ + + + ဋ᭗౮ ṛ
+ + + ဋ᭗౮ ṛ + + + ဋ᭗౮ ṛ + + + ဋ᭗౮ ṛ + + + ဋ᭗౮ ṛ
+ + + ဋ + + + ဋ + +
+ ဋ + + + ဋ + + + ဋ + + + ဋ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
None
None
ᑏۖၵᄤᤪ PC ڹᒒݎ݄֜֜Ҙ
ᬩ០ଘݣ හഝଘݣ ਮಁӾݣ CRM ૡᑕଘݣ ૡᑕଘݣ մӱᓕቘ ๐ۓလቘ ᬩᖌᔮᕹ ਮ๐Ӿஞ
ݍḇଘݣ
մӱӾݣኼ ٩ઊԆᥝࣁᶎӥ
ই֜ࣁᩒრᔲᗌጱఘ٭ӥඪ೮य़ᰁӾݸݣԾߝ ّᶶᎸݎපሲአಁ֛ḵҘ Ӿ।᮷٬ਧԧ֦҅ժ؉ᶭᶎ “ ”
Ӿ।᮷٬ਧԧ֦҅ժ؉ᶭᶎ “ ” Ծߝᕪቘ قݎ +
Ծߝᕪቘ قݎ + Ӿ।᮷٬ਧԧ֦҅ժ؉ᶭᶎ “ ”
قᎸݎཛྷୗ Ծߝᕪቘ قݎ + ڹᒒ & ᦡᦇचᏐᦡෞ
ᩒრࣳࢫᴚ ๐ۓࣳࢫᴚ
चᏐڹᒒૡᑕ + ӱۓڹᒒૡᑕ ᦡᦇ + ದԾߝڹᒒૡᑕ + +
antd რᕪ០ԏ᭲ ݒᬢ Ӿݣᦡᦇ React ದ Ꮈݎཛྷୗ
Ant Design ӞӻӾݣᦡᦇ
ᡶᡵᰂᣟԯ ଠာጱӾݣԾߝ ᦡᦇᥢ ᦡᦇ ᕟկ ᦡᦇ ܻڞ ཛྷୗ ဃႚ ૡٍ
ङᦒ
ᕟկ ᦡᦇ ܻڞ ཛྷୗ ဃႚ ૡٍ ङᦒ ᡶᡵᰂᣟԯ ଠာጱӾݣԾߝ ᦡᦇᥢ
ᦡᦇ
ਫአԆԎ ੜᘒᗦ ᕹӞ Ի 50+ चᏐᕟկ ۖኮ
None
None
ᦡᦇದᕮݳ አݶጱᦾ +
ӥᭌೠ Select ӥោܔ Dropdown
Ԇᜋ @brand-color-1 ᴢ @shadow-1
᭦ᬋ۸ጱᦡᦇᥢڞ لୗ۸ ᜋ Յੂ ᪗ᐶ
Normal Hover Active
tint(@primary-color, 80%) shade(@primary-color, 80%)
None
None
AntD icons Alipay icons PNG 25 Alipay icons Alipay icons
Ant Desgin AntD for Mobile Ant Desgin 主按钮 次按钮 幽灵按钮 失效按钮 中号按钮 按钮一 按钮二 按钮三 请选择 请选择 请选择 请输入 请输入 开 开 关
ᔜߝཛྷୗ ᥢཛྷୗ ӫӱڹᒒ+ᦡᦇ᯿ଶ݇Ө ىဳአಁ֛ḵ ىဳԾߝᤒሿێ ૡᑕ҈PD ԅԆ҄ᦡᦇᬀ ๐ۓཛྷୗ ӫ ّ
᭽᭗አᦡᦇᥢ ىဳᎸݎපሲ ّᶶአಁ֛ḵ
None
antd რᕪ០ԏ᭲ ݒᬢ Ӿݣᦡᦇ React ದ Ꮈݎཛྷୗ
෯ጱದ ದᘌ۸ ᖌಷۖێӧ᪃ ᗌᐒ܄ Arale Alice spm Sea.js
ದᘌ۸ ᖌಷۖێӧ᪃ ᗌᐒ܄ Arale Alice spm Sea.js
ڹᒒದᄤၞ ೮ԋጱኞێ ᐒ܄ᕁڥ ಼ React რᐒ܄
ڹᒒದᄤၞ ೮ԋጱኞێ ᐒ܄ᕁڥ ಼ React რᐒ܄ ᭜ᭇݳقݎጱڹᒒचᏐᦡෞ
᭜ᭇݳقݎጱڹᒒचᏐᦡෞ ڹᒒದᄤၞ ೮ԋጱኞێ ᐒ܄ᕁڥ
ES2015
None
react-component antd UI ᕟկ
react-component antd UI ᕟկ
ਧ֖ ׀ବ੶ۑᚆ ਠ࠺ጱॺկ ୗ चᏐ݇ᘍୗ ᕹӞጱᦡᦇᥢ ᯈᗝ ୩य̵़॔ ᔜᓌ
ṛᴤ҅॔ ᔜᗦ҅ᶎݻڡᕆአಁ ಘ ṛ ֗ react-component antd
UI ᕟկ
ૡ֢ၞ ant-tool
ӥӞդᡶᡵڹᒒݎૡٍ ant-tool
HMR դቘ හഝ MOCK ୌ UI ၥᦶ හഝၞ ᓕቘ ᐶᕚ۱
ݎ դᎱ ᥢ ᚕಋຝ
ᚕಋຝ HMR դቘ හഝ MOCK ୌ UI ၥᦶ හഝၞ ᓕቘ
ᐶᕚ۱ ݎ դᎱ ᥢ
None
ݢൊጱ npm package
ֵአفݗ
ଫአຝ մӱᕆԾߝݎᵱᥝմӱᕆጱڹᒒଫአຝ ಅํጱդᎱ᮷ํᧆ݄ጱࣈො
ଫአຝ մӱᕆԾߝݎᵱᥝմӱᕆጱڹᒒଫአຝ ಅํጱդᎱ᮷ํᧆ݄ጱࣈො
API Server Data View URL Action routing react dispatch
react react-router-redux redux react-redux redux-saga reselect css-modules isomorphic-fetch
API Server Data View URL Action routing react dispatch isomorphic-
fetch async + awa it react-router react-router-redux redux-saga reselect css- modules
None
ङᦒ රᑕ ᦧړ ᬀާ ڹᒒದᴺ
قݎ ᬀާ قݎ قݎ قݎ قݎ ӱۓᕚ
None
ڹᒒದᴺ ङᦒ + රᑕ + ᦧړ + ᬀާ
antd რᕪ០ԏ᭲ ݒᬢ Ӿݣᦡᦇ React ದ Ꮈݎཛྷୗ
$ npm install antd Ant Design ጱ React ਫሿ +
4700+ ਥᗑྯ෭ᦢᳯᰁ Իහ 1400+ Issue Pull request හᰁ 69
ᨯሠᘏහᰁ 70/193 ᥟፍᡶᡵӾݸݣᔮᕹ 1w+ npm ྯ์ӥᰁ 2w+
մӱٖ᮱ই֜؉რҘ
რ ≠ නრᎱ ڊݗٖᲀ ӞᥤݶՌ ىဳᐒ܄ عᛔࡣ
ant.design ᦡᦇᥢ ڹᒒֵአ
դᎱ >
None
ᄍᐏྲ API ๅଉአ ׀ Changelog ܋ᕆ ׀ݎᘏ᧔ก ׀ग़ᇇ
— ᵨຎ ӥ᭲ฎӞଷउ૱ጱᜉஞ̶ “ ” — ؇ݦ ग़ᇇฎრጱᜉஞ̶
ग़ᇇฎრጱᜉஞ̶ ӥ᭲ฎӞଷउ૱ጱᜉஞ̶ “ ”
໐ஞੜᕟ ٖ᮱ռ۱ + ݎᩒრ
None
ᳯ᷌ݍḇ ᵱᦎᦞ ᥠᵞ ձۓᓕቘ Issues ӧളݑ๚ Issue ጱᵱ
ӧളݑ๚ Issue ጱᵱ ᳯ᷌ݍḇ ᵱᦎᦞ ᥠᵞ ձۓᓕቘ
ٌ՜ਫሿ ّ ݢአ ᇙୌᦓ դᎱᷚ໒ ग़ ඪ೮ ๐ۓᒒ ວ ᚕಋຝ
ᐒ܄ᨯሠ
None
ӾݣӱۓԾߝ ದԾߝ & ᥢ Ant Design, antd, Roof, G2 etc.
ದ๐ۓ ֛ḵದ᮱
๚ TypeScript antm ᑏۖᒒ ๐ۓᒒ Ի ӱۓཛྷ ୗପ ࢵᴬ۸ …
Question is welcome
None
None
None
None
Semantic Version
ݎᇇғbeta ᑞਧᇇғstable
ݎᇇғbeta ᑞਧᇇғstable
develop-1.0.0 ݎᇇғbeta ᑞਧᇇғstable master
None
Commit ىᘶ issue