Elliott Lan
Elliott Lan
@alvarotrigo I tried to fix it like this - which didn't work for me - but it outside my expertise as a JS guy. Do you know if I have...
I have modified the codesandbox above with a 'rebuild' button that works, however its not an ideal solution - ideally the rebuild would be triggered automatically. https://codesandbox.io/s/friendly-dirac-0ojt9
Yeah, just to be clear, the destroy and re-initialize method does actually work.
Same as before, the line that you highlighted is returning void incorrectly ``` if (sectionCount === newSectionCount && slideCount === newSlideCount) { ```
I've made a really simple pull request to make rebuilding easier.
^^^ Separate pull request for the slide comparison ^^^
https://github.com/alvarotrigo/react-fullpage/issues/157
Yeah its a better way, but shouldn't be merged until I modify the api for the new format. Will bring everything down otherwise!