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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.