react-theme-provider icon indicating copy to clipboard operation
react-theme-provider copied to clipboard

Support for peerDependency of react@^17.0.0

Open zizzle6717 opened this issue 4 years ago • 2 comments

Describe the feature

Expand peerDependency to also include react above v17

Motivation

Dependency tree error in latest versions of node/npm

zizzle6717 avatar Oct 02 '21 12:10 zizzle6717

Encountering this as well, any update?

Dashue avatar Mar 17 '22 11:03 Dashue

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 https://github.com/callstack/react-theme-provider/issues/144

AntonyF-Andreani avatar Jan 28 '23 00:01 AntonyF-Andreani