I am making a rest request to get user groups and that is required in each SPFx webpart to do some further operation.

Scenerio - If 6 SPfx webparts are added on a page and each SPFx webpart is required to have check that user groups must exist to execute its functionality further. Due to which 6 separate rest call are made to SharePoint to get the groups.

How can I reduce this to single rest call?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.