[ { "name": "pnp-sp-dev-spfx-web-parts-react-functional-component-with-data-fetch", "source": "pnp", "title": "React Functional Component web part with data fetch", "shortDescription": "This web part demonstrates building a React functional component that uses data from a remote service, in this case the Microsoft Graph, using the recently introduced React Hooks feature. The example web part renders a list of the user\u0027s Teams and, optionally, the channels in each Team.", "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-component-with-data-fetch", "longDescription": [ "This web part demonstrates building a React functional component that uses data from a remote service, in this case the Microsoft Graph, using the recently introduced React Hooks feature. The example web part renders a list of the user\u0027s Teams and, optionally, the channels in each Team." ], "creationDateTime": "2019-06-14", "updateDateTime": "2022-02-21", "products": [ "SharePoint" ], "metadata": [ { "key": "CLIENT-SIDE-DEV", "value": "React" }, { "key": "SPFX-VERSION", "value": "1.14.0" } ], "thumbnails": [ { "type": "image", "order": 100, "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-functional-component-with-data-fetch/assets/Screenshot.png", "alt": "React Functional Component web part with data fetch" } ], "authors": [ { "gitHubAccount": "SPDoctor", "company": "Flow Simulation Ltd.", "pictureUrl": "https://avatars.githubusercontent.com/u/10207194?s=460\u0026v=4", "name": "Bill Ayers", "twitter": "SPDoctor" }, { "gitHubAccount": "DonKirkham", "pictureUrl": "https://github.com/DonKirkham.png", "name": "Don Kirkham" } ], "references": [ { "name": "Build your first SharePoint client-side web part", "description": "Client-side web parts are client-side components that run in the context of a SharePoint page. Client-side web parts can be deployed to SharePoint environments that support the SharePoint Framework. You can also use modern JavaScript web frameworks, tools, and libraries to build them.", "url": "https://learn.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part" } ] } ]