react-preload-image
react-preload-image copied to clipboard
Add React 17 support
The purpose of this pull request is to allow npm and yarn to install this package with React 17.x.
It seems simply switching from React 16.x to 17.x makes it work.
For now, I'm installing with npm install github:nonoesp/react-preload-image#17.x.
What this pull request does
- Set React peer dependency to 17.x in
package.json.
Cheers! :)