rebass icon indicating copy to clipboard operation
rebass copied to clipboard

Update for react 17+

Open WardenCommander opened this issue 3 years ago • 5 comments

Im starting to get problems with Flex functions, as most of my dependancies require start requiring react 17. Specifically NextJS require react 16.9... and rebass requires react 16.8...

Is there simple alternative for rebass/reflexbox? I use emotion for JSS I was thinking to go Material UI road but that would require a lot of changes.

WardenCommander avatar Apr 01 '21 08:04 WardenCommander

Have you found something to replaced it?

mrcportillo avatar Jun 16 '21 22:06 mrcportillo

Facing the same issue. I am unable to install reflexbox npm i reflexbox. Its throwing the following error,

npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"17.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.6" from [email protected]
npm ERR! node_modules/reflexbox
npm ERR!   reflexbox@"*" from the root project

ronastlelobo avatar Jul 06 '21 11:07 ronastlelobo

I am facing the same issue

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR!   react@"17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.6" from [email protected]
npm ERR! node_modules/reflexbox
npm ERR!   reflexbox@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

preethamsridhar avatar Oct 23 '21 15:10 preethamsridhar

I was wondering about this too.

visualjeff avatar Nov 14 '21 23:11 visualjeff

any update in updating rebass for react 18?

zidian257 avatar Jan 19 '22 03:01 zidian257

So...rebass is dead?

iamrickyspanish avatar Feb 10 '23 16:02 iamrickyspanish

same error here, some update on this?

guscsales avatar Mar 29 '23 13:03 guscsales