demo: destroy button can be used to recreate the HotelDatepicker
demo: destroy button can be used to recreate the HotelDatepicker

by clicking a couple dozen of times on that button, we start to suffer from UI lags (in Chrome mostly, less in Firefox).

By using

    getEventListeners(document);
    getEventListeners(demo15);

in the Chrome console, we can see that event listeners are left behind

benitolopez/hotel-datepicker