rebassjs/rebass

Update for react 17+

WardenCommander opened this issue · 7 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.

Have you found something to replaced it?

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

npm ERR! Found: react@17.0.2
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 reflexbox@4.0.6
npm ERR! node_modules/reflexbox
npm ERR!   reflexbox@"*" from the root project

I am facing the same issue

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: tapin@0.1.0
npm ERR! Found: react@17.0.2
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 reflexbox@4.0.6
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.

I was wondering about this too.

any update in updating rebass for react 18?

So...rebass is dead?

same error here, some update on this?