satcheljs icon indicating copy to clipboard operation
satcheljs copied to clipboard

Any plan to bump mobx and mobx-react to the latest version?

Open haven2world opened this issue 4 years ago • 2 comments

Since mobx-react supports hook in v6, we cannot use satcheljs with FC and hook together now.

mobx-react: image

haven2world avatar Jan 13 '21 08:01 haven2world

My team is seeing the same issue with npm v7.x. It leads to issues when trying to use the latest mobx version and satcheljs at the same time:

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/mobx
npm ERR! Could not resolve dependency:
npm ERR! peer mobx@"^4.4.0" from [email protected]
npm ERR! node_modules/satcheljs
npm ERR!   satcheljs@"^4.2.4" from the root project
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.

aaaronic avatar Jan 24 '22 17:01 aaaronic

This is on our radar; I just need a bit of time to work through the implications of the upgrade. Should be coming in the next couple months.

smikula avatar Jan 24 '22 21:01 smikula

Any updates?

haven2world avatar Dec 06 '22 02:12 haven2world

My product is currently using Satchel with the latest mobx packages with no problems. I understand the peer dependencies in package.json are out of date, but have you tried using Satchel as is? Assuming it's working fine for you, too, I can get the peer deps updated.

smikula avatar Dec 08 '22 23:12 smikula

Sure. I just override Satchel's dependencies. Seems to be better to update it in pacakage.json officially

haven2world avatar Dec 09 '22 02:12 haven2world

I just fixed this with #172 and released a patch version (v4.3.1).

smikula avatar Dec 21 '22 00:12 smikula