react-bnb-gallery
react-bnb-gallery copied to clipboard
React 17 support
Currently react-bnb-gallery
supports react
15 and 16:
https://github.com/peterpalau/react-bnb-gallery/blob/ad411497c42c1bbdf8c16c7e4ab5a35844a9529a/package.json#L58-L61
It would be great, if it would also support the latest React 17 release.
Please note that the sub-dependency focus-trap-react
currently does not support react 17 yet:
https://github.com/peterpalau/react-bnb-gallery/blob/ad411497c42c1bbdf8c16c7e4ab5a35844a9529a/package.json#L130
At least not a released version. My guess is, that version 8.2.0
will have a fix, once it is released (see merged but not yet released PR).
focus-trap-react
is now compatible with react 17 starting with version 8.1.1
or newer (see https://github.com/focus-trap/focus-trap-react/releases/tag/v8.1.1).
@peterpalau any movement here?
Opened a simple PR for this – #90
...looks like the airbnb proptypes package does not currently support React 17. This is probably held up until they fix that–or the dependency is dropped/removed.