awmleer/use-async-memo

Fails to install with React 17+

iki opened this issue · 4 comments

iki commented

Error when npm install use-async-memo:

Could not resolve dependency:
peer react@"^16.8.0" from use-async-memo@1.2.2

On a yarn managed dependencies it can be fixed with resolutions

  "resolutions": {
    "react": "17.0.1"
  }

with npm we have to wait for overrides, and the existing workarounds are not nice

This is due to the outdated peer dependencies config in package.json. I'll update it asap.

"react": "^16.8.0"

Fixed via 98268b4.

@iki Please reinstall this package or upgrade it to v1.2.3. It should be working now. Thanks for opening this issue.

iki commented

@awmleer thanks for a super fast fix, works now 💯