ant-design / ant-design-icons

⭐ Ant Design SVG Icons
https://ant.design/components/icon/
MIT License
960 stars 582 forks source link

React 18 compatible #521

Open vit1251 opened 2 years ago

vit1251 commented 2 years ago

Since React 18 is release @ant-design/icons block updating. Any reason to continue blocking?

HeskeyBaozi commented 2 years ago

What's blocking the update? Do you mean the peerDependencies or other issues?

ggalejandro commented 2 years ago

Installation proccess throws an error using node 16 due to peerDependencies


npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!   peer react@">=16.0.0" from @ant-design/icons@4.7.0
npm ERR!   node_modules/@ant-design/icons
npm ERR!     @ant-design/icons@"^4.7.0" from antd@4.21.6
YahyawiAF commented 1 year ago

Installation proccess throws an error using node 16 due to peerDependencies


npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   react@"18.2.0" from the root project
npm ERR!   peer react@">=16.0.0" from @ant-design/icons@4.7.0
npm ERR!   node_modules/@ant-design/icons
npm ERR!     @ant-design/icons@"^4.7.0" from antd@4.21.6

Same here. please if you find a solution can you help @ggalejandro?

arielyc commented 1 year ago

npm install still thowing errors :face_exhaling:

node 18.14.1 npm 9.3.1

npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR!   peer react@"^18.2.0" from the root project
npm ERR!   peer react@">=16.0.0" from @ant-design/icons@5.0.1
npm ERR!   node_modules/@ant-design/icons
npm ERR!     peer @ant-design/icons@"^5.0.1" from the root project
npm ERR!     @ant-design/icons@"^5.0.0" from antd@5.3.3
npm ERR!     node_modules/antd
npm ERR!       peer antd@"5.3.3" from the root project
bkiggen commented 1 year ago

I would also like to see antd address this issue.

ViralRuparel commented 1 year ago

hey guys any update? please altleast respond to our question, we are blocked by this

themathiou commented 1 year ago

Hey guys, any updates regarding the compatibility with React 18. What is the status?

QuocVietHa08 commented 9 months ago

Any update for this issues ?

micaelomota commented 5 months ago

Two years since this was created and no news 🥲

koltvictor commented 4 months ago

Did anybody get around this? It's causing my build to fail too and it's making me f$&#*ing crazy

boxgames1 commented 2 months ago

any update on this?