Updated sample.json and readme

This commit is contained in:
Hugo Bernier 2022-02-19 20:55:37 -05:00
parent 3b57d8b9b1
commit 575bcf6183
2 changed files with 10 additions and 2 deletions

View File

@ -16,6 +16,7 @@ This web part demonstrates building a React functional component that uses data
![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%20Server%202016%20(Feature%20Pack%202)-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1") ![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%20Server%202016%20(Feature%20Pack%202)-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
![Local Workbench Unsupported](https://img.shields.io/badge/Local%20Workbench-Unsupported-red.svg 'Local workbench is no longer available as of SPFx 1.13 and above') ![Local Workbench Unsupported](https://img.shields.io/badge/Local%20Workbench-Unsupported-red.svg 'Local workbench is no longer available as of SPFx 1.13 and above')
![Hosted Workbench Compatible](https://img.shields.io/badge/Hosted%20Workbench-Compatible-green.svg) ![Hosted Workbench Compatible](https://img.shields.io/badge/Hosted%20Workbench-Compatible-green.svg)
![Compatible with Remote Containers](https://img.shields.io/badge/Remote%20Containers-Compatible-green.svg)
## Applies to ## Applies to
@ -48,6 +49,8 @@ Version|Date|Comments
* Navigate to *https://mytenant.sharepoint.com/_layouts/15/workbench.aspx* * Navigate to *https://mytenant.sharepoint.com/_layouts/15/workbench.aspx*
* Sign in to your account if needed * Sign in to your account if needed
> This sample can also be opened with [VS Code Remote Development](https://code.visualstudio.com/docs/remote/remote-overview). Visit https://aka.ms/spfx-devcontainer for further instructions.
## Features ## Features
The purpose of this web part is to demonstrate building a React functional component that includes state and data fetched from a remote service. This is achieved using the recent React Hooks feature. The resulting code is cleaner and easier to follow than using a JavaScript/TypeScript class derived from React.Component. The example web part renders a list of the user's Teams and, if enabled, a list of the Teams channels for each Team with a link to the channel. The purpose of this web part is to demonstrate building a React functional component that includes state and data fetched from a remote service. This is achieved using the recent React Hooks feature. The resulting code is cleaner and easier to follow than using a JavaScript/TypeScript class derived from React.Component. The example web part renders a list of the user's Teams and, if enabled, a list of the Teams channels for each Team with a link to the channel.

View File

@ -9,7 +9,7 @@
"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." "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", "creationDateTime": "2019-06-14",
"updateDateTime": "2019-06-14", "updateDateTime": "2022-02-15",
"products": [ "products": [
"SharePoint" "SharePoint"
], ],
@ -20,7 +20,7 @@
}, },
{ {
"key": "SPFX-VERSION", "key": "SPFX-VERSION",
"value": "1.8.2" "value": "1.13.1"
} }
], ],
"thumbnails": [ "thumbnails": [
@ -38,6 +38,11 @@
"pictureUrl": "https://avatars.githubusercontent.com/u/10207194?s=460\u0026v=4", "pictureUrl": "https://avatars.githubusercontent.com/u/10207194?s=460\u0026v=4",
"name": "Bill Ayers", "name": "Bill Ayers",
"twitter": "SPDoctor" "twitter": "SPDoctor"
},
{
"gitHubAccount": "DonKirkham",
"pictureUrl": "https://github.com/DonKirkham.png",
"name": "Don Kirkham"
} }
], ],
"references": [ "references": [