Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Support for React 17+ #38

Open
mrwbdv opened this issue Nov 22, 2021 · 2 comments
Open

Support for React 17+ #38

mrwbdv opened this issue Nov 22, 2021 · 2 comments

Comments

@mrwbdv
Copy link

mrwbdv commented Nov 22, 2021

The peer dependency of react is "react": "^15.0.0-0 || ^16.0.0-0",.

Because of this appears warning while using react 17: react-progressive-image@0.6.0" has incorrect peer dependency "react@^15.0.0-0 || ^16.0.0-0".

This results in this library not being compatible with React 17.0+. Can we have React 17 support for this lib?

As react@17 is backward compatible with react@16 the transition should be smooth and it requires only peer dependency update in package.json.

@rdeveen
Copy link

rdeveen commented Dec 3, 2021

See this fork for react 17 supported version: https://github.com/sanishkr/react-progressive-graceful-image

@lukasa1993
Copy link

See this fork for react 17 supported version: https://github.com/sanishkr/react-progressive-graceful-image

still depends on react-16 thru @researchgate/react-intersection-observer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants