I am developing 2 SPFx web parts. one which shows items from a SharePoint list and the other shows items assigned for the login user from SLACK.
now for the technologies, to connect to the SharePoint list and to the external systems i have those:-
- To connect to SharePoint list:-
- SPHttpClient
- Raw jQuery
- PnP/PnPjs
- To connect to Exernal API/system:-
- HttpClient
- Raw jQuery
now for SharePoint i usually use PnP/PnPjs because it ease the development compared to SPHttpClient & Raw jQuery + i use HttpClient to connect to external API because it is easier compared to Raw jquery.
but i am working with a client and they do not allow us to use any open source technologies not managed by Microsoft.so this mean i can not use PnP/PnPjs.. so is the alternative to use SPHttpCleint for internal and HttpClient of external for this customer?