maxmarinich / react-alice-carousel

React responsive component for building content galleries, content rotators and any React carousels
MIT License
833 stars 91 forks source link

debounce-unmount-fix #252

Closed oliseviche closed 1 year ago

oliseviche commented 2 years ago

This is a changes to fix the issue with unmounting and debounced resize described in this issue https://github.com/maxmarinich/react-alice-carousel/issues/251

Maybe, the best option would be to refactor the debouce utility to work in an object like way, but I was assuming to leave it in a more fashioned functional way like React framework components usually do.

@maxmarinich What do you think?

oliseviche commented 2 years ago

Hi @maxmarinich! I guess I am missing rights to merge the request. Would be appreciate if you can merge it at some point of time. Thanks!