Forum Discussion
DusteJ
Apr 30, 2019Copper Contributor
Running into issue with SPFX recently Cannot redefine non-configurable property 'startsWith'
I am running into below issue when I try configuring SPFX control on Modern Page, this particular control was working fine without any issue up until now. Something went...
Freddy Bang
May 02, 2019Copper Contributor
DusteJ and Paul Bevis we have resolved the issue in our SPFX web parts simply by removing this line:
import 'core-js/es6/string';
After an update done by Microsoft this week it seems that SharePoint Online now adds string polyfill automatically. Polyfill is used to support "old" browsers like IE11 which does not support many features of javascript.
So our conclusion is that the Issue were connected with polyfills and changes done by Microsoft this week..
DusteJ
May 08, 2019Copper Contributor
Thank you, the solution worked.