Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Modern SPFx web part creates a new list 'abc' using code when it is added to site contents.
Now I want to remove list 'abc' automatically when web part is removed from site contents(using code not manually).
How can I achieve this?
Required, but never shown
1 month ago