unmount slides when not displayed
Author: sneakers-the-ratCreated May 8, 2021Updated Jan 22, 2024
Description
Currently all slides remain in the DOM with display:none when not displayed & the components remain mounted. this means any slides that have components with side effects like animations will continue running, and everything starts going very sloooow.
Proposal
Add a prop to Deck like bufferRange where the content of slides slides +/- that range are mounted in the Dom, but otherwise are unmounted.
Source: FormidableLabs/spectacle