davidjerleke / embla-carousel

A lightweight carousel library with fluid motion and great swipe precision.
https://www.embla-carousel.com
MIT License
5.5k stars 167 forks source link

chore: Add React ^16.8 and ^17 to peer deps. #392

Closed horseeyephil closed 1 year ago

horseeyephil commented 1 year ago

PR:

Discussion: https://github.com/davidjerleke/embla-carousel/discussions/391

Adds more versions of React so that projects that don't use 18 may install embla-carousel-react without errors of the missing peer dependency. This would usually require --force or --legacy-peer-deps to bypass.

Validation:

Screen Shot 2022-11-05 at 8 37 46 PM
davidjerleke commented 1 year ago

Thank you very much @horseeyephil for this PR and taking time to test this. Welcome to the contributors club ⭐!