sp-dev-fx-webparts/samples/react-async-await-sp-pnp-js
José Quinto b8405c728a Add @select and @expand decorators in PnP JS Core sample and update package json versions (#252)
* update package versions taxonomypicker

* update package json versions react-async-await-sp-pnp-js

* PnP JS Core with select and expand decorators SPFx sample

* update readme property decorators
2017-07-21 21:00:52 +03:00
..

React sample showing the use of sp-pnp-js with Async / Await

Summary

This webpart demonstrates how to use PnP JS Core with Async functions into the SharePoint Framework as well as integrating PnP JS and SPFx Logging systems. Real example querying SharePoint library to show document sizes.

React-sp-pnp-js-async-await

Used SharePoint Framework Version

drop

Applies to

Solution

Solution Author(s)
react-async-await-sp-pnp-js Jose Quinto (@jquintozamora , blog.josequinto.com)

Version history

Version Date Comments
1.0 May 1, 2017 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • clone this repo
  • $ npm i
  • $ gulp trust-dev-cert
  • $ gulp serve

Local Mode

A browser in local mode (localhost) will be opened. https://localhost:4321/temp/workbench.html

SharePoint Mode

If you want to try on a real environment, open: https://your-domain.sharepoint.com/_layouts/15/workbench.aspx

Usage

React-sp-pnp-js-async-await-code

Features