callstack/react-theme-provider

Support for peerDependency of react@^17.0.0

zizzle6717 opened this issue · 2 comments

Describe the feature

Expand peerDependency to also include react above v17

Motivation

Dependency tree error in latest versions of node/npm

Encountering this as well, any update?

I found this problem too, a possible fix to improve support also to React 18 must be:

https://github.com/callstack/react-theme-provider/blob/master/package.json#L54

Change to:

{
    "peerDependencies": {
        "react": "^16.3.0 || ^17.0.2 || ^18.0.0",
    }
}

also this with combination of issue #144