Skip to content
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

chore: πŸ†™ upgrade react 17 #27268

Merged
merged 24 commits into from Dec 1, 2020
Merged

chore: πŸ†™ upgrade react 17 #27268

merged 24 commits into from Dec 1, 2020

Conversation

hengkx
Copy link
Member

@hengkx hengkx commented Oct 21, 2020

[δΈ­ζ–‡η‰ˆζ¨‘ζΏ / Chinese template]

πŸ€” This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

πŸ”— Related issue link

#26136

πŸ’‘ Background and solution

πŸ“ Changelog

Language Changelog
πŸ‡ΊπŸ‡Έ English Support React 17.
πŸ‡¨πŸ‡³ Chinese ζ”―ζŒ React 17。

β˜‘οΈ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@yoyo837 yoyo837 changed the title chore: πŸ†™ upgrade react 17 chore: πŸ†™ upgrade react 17 Oct 21, 2020
@ant-design-bot
Copy link
Contributor

ant-design-bot commented Oct 21, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Oct 21, 2020

@hengkx
Copy link
Member Author

hengkx commented Oct 21, 2020

@yoyo837 Β δ½ ζ€ŽδΉˆζ”Ήε›Ύζ ‡ηš„

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 21, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5d15683:

Sandbox Source
antd reproduction template Configuration

@hengkx
Copy link
Member Author

hengkx commented Oct 21, 2020

Block by enzymejs/enzyme#2429

@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2020

Size Change: 0 B

Total Size: 790 kB

ℹ️ View Unchanged
Filename Size Change
./dist/antd-with-locales.min.js 313 kB 0 B
./dist/antd.compact.min.css 66.6 kB 0 B
./dist/antd.dark.min.css 67.9 kB 0 B
./dist/antd.min.css 66.7 kB 0 B
./dist/antd.min.js 275 kB 0 B

compressed-size-action

@yoyo837
Copy link
Contributor

yoyo837 commented Oct 21, 2020

@yoyo837 Β δ½ ζ€ŽδΉˆζ”Ήε›Ύζ ‡ηš„

δ»Žεˆ«ε€„ε€εˆΆηš„οΌŒθΎ“ε…₯ζ³•ζ€ŽδΉˆζ‰“θΏ˜δΈηŸ₯ι“γ€‚πŸ˜‚

@afc163
Copy link
Member

afc163 commented Oct 21, 2020

#26136

@afc163
Copy link
Member

afc163 commented Nov 4, 2020

/rebase

@afc163
Copy link
Member

afc163 commented Nov 17, 2020

/rebase

@afc163
Copy link
Member

afc163 commented Nov 20, 2020

/rebase

@afc163
Copy link
Member

afc163 commented Nov 25, 2020

/rebase

@afc163
Copy link
Member

afc163 commented Nov 30, 2020

/rebase

@afc163
Copy link
Member

afc163 commented Dec 1, 2020

  • bisheng ι‡ŒθΏ˜ζœ‰ react 16 ηš„δΎθ΅–οΌŒε―Όθ‡΄η½‘η«™ζž„ε»Ίε€±θ΄₯
  • react 16 η›Έε…³ηš„ test θ¦εŠ δΈ€δΈ‹

@codecov
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #27268 (5d15683) into master (dda1f2b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master    #27268   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          393       393           
  Lines         7373      7373           
  Branches      2112      2112           
=========================================
  Hits          7373      7373           

Continue to review full report at Codecov.

Legend - Click here to learn more
Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data
Powered by Codecov. Last update dda1f2b...5d15683. Read the comment docs.

@afc163
Copy link
Member

afc163 commented Dec 1, 2020

/rebase

@afc163 afc163 merged commit 32a9ba5 into master Dec 1, 2020
@afc163 afc163 deleted the react17 branch December 1, 2020 10:28
@yoyo837
Copy link
Contributor

yoyo837 commented Dec 1, 2020

enzyme ζ”―ζŒεŽε†ζ›΄ζ’ε—οΌŸ

@afc163
Copy link
Member

afc163 commented Dec 1, 2020

对。

marianayap added a commit to marianayap/ant-design that referenced this pull request Dec 2, 2020
* fix: update CarouselRef goTo args (ant-design#28090)

* chore: πŸ†™ upgrade react 17 (ant-design#27268)

ant-design#26136

* fix BUNDLESIZE_GITHUB_TOKEN

* docs: supplement Form.List errors (ant-design#28117)

* docs: set image preview false in placeholder demo (ant-design#28140)

* docs(πŸ“–): update v4 migration about less variables change

close ant-design#28141

* test: skip List loading demo (ant-design#28133)

* fix: TextArea showCount style while using with Form (ant-design#28130)

* chore: optimize useModal performance - Do not trigger rerender of parent component (ant-design#28122)

* fix: Add type of initialValue prop to Form.List (ant-design#28153)

* fix: Add type of initialValue prop to Form.List

* Update index.zh-CN.md

* Update index.en-US.md

* fix(Tree): fix tree drop indicator default direction (ant-design#28150)

Co-authored-by: Jarret Moses <jarret.moses@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Liming Jin <jinliming2@gmail.com>
Co-authored-by: stygian-desolator <73412177+stygian-desolator@users.noreply.github.com>
Co-authored-by: ιͺ—δ½ ζ˜―小猫ε’ͺ <darryshaw@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
Co-authored-by: Elaina Cherudim <shr9192@gmail.com>
Co-authored-by: Debiancc <never.be.evil.debian@gmail.com>
Co-authored-by: Jingsong Gao <kingsongao1221@gmail.com>
@marianayap marianayap mentioned this pull request Dec 3, 2020
const Adapter = require('enzyme-adapter-react-16');
const Adapter =
process.env.REACT === '16'
? require('enzyme-adapter-react-16') // eslint-disable-line import/no-extraneous-dependencies,import/no-unresolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enzyme-adapter-react-16 δΎθ΅–θΏ˜ζ˜―ιœ€θ¦θ£…

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ζœ‰ηš„οΌŒεœ¨ ci ι‡Œθ£…δΊ†γ€‚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants