Provide an onDelete() method that occurs when a web part is deleted from a page. This will allow for the web part to remove any files related to the instance being deleted.
See discussion on:
Thanks for your feedback! We like your suggestion and it’s being added to our backlog. We don’t have yet specific schedule for this, but item has been added to upcoming plans for the SPFx and since request does make sense and has been requested from other sources as well, this will be most likely implemented.
I'd like to have the option for an admin to 1) load upp the script and other resources in a customer owned or managed CDN location and 2) allow the admin to specify that location when adding the .sppkg file into the app catalog.
This would allow for more flexible usage of SPFx applications and also allow enterprises to have better governance of the script resources - which would increase the adoption of SPFx and also allow ISV's to create more solutions.22 votes
- Don't see your idea?