Closed devtodep closed 2 years ago
. Is it possible to render only the component for the current active section and destroy all other section components which are not active.
fullPage.js won't provide that out of the box. However, you might be able to do it by yourself using React?
My
ReactFullpage.Wrapper
setup has 4 sections, which are rendered all at once. Is it possible to render only the component for the current active section and destroy all other section components which are not active. I tried a small setup usinguseState
. But it throws the following error, when I try to render a specific component for that section.