I believe the new update of react scripts may have broken this package
My code
<Button
onClick={() => scrollToComponent(this.Description, {offset: 0, align: 'top',duration: 1200})}>
</Button>
...
<section className='description' ref={(section) => { this.Description = section; }}>
<Description />
</section>
Yields TypeError: Cannot set property 'Description' of undefined on start. Worked fine before updating to the latest version of react-scripts
I believe the new update of react scripts may have broken this package
My code
Yields
TypeError: Cannot set property 'Description' of undefined on start. Worked fine before updating to the latest version of react-scripts